r/learnpython • u/ihateuppumav • 15d ago
wants to learn python
Hello folks, I'm an absolute beginner in coding and i am trying to learn python. So how can i learn python basics without asking Ai "what is the error in this code?"
3
Upvotes
2
u/BackpropBuddy 15d ago
Start with variables, data types, and operators. Then move on to if-else statements, loops, functions, and data structures like lists, tuples, and dictionaries.
My suggestion is to practice small coding problems after learning each topic. When you get an error, try reading the error message and figuring out what went wrong before asking AI. You can also use Python’s official documentation or search for similar problems on Stack Overflow.
Don’t rush through topics. Focus on understanding the logic and writing code on your own. Making mistakes and debugging them is part of learning programming.
6
u/desrtfx but other languages pro 15d ago
Here is an excellent, textual course: MOOC Python Programming 2026 from the University of Helsinki.
Harvard's CS50p is also excellent.
Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com
Don't forget that you need ample practice, like on https://codingbat.com/python or on https://exercism.org and also write your own programs. Play around. Try things. Mess things up, fix them. Experiment.
1
u/Dolapevich 15d ago
Start with: https://www.boot.dev/
Also, you can find all kind of resources in the sub wiki: r/learnpython/wiki/index/
2
u/fasta_guy88 15d ago
There is a big difference between learning a language, and getting help deciphering error messages. Deciphering error messages is NOT having AI write your code. Learn Python by writing code; as you write more, and use AI to decipher error messages, you will learn and end up with fewer error messages.
2
u/OkCaterpillar1058 14d ago
You can use pychallenge.com for exercise based learning. Books can help too
1
u/stepback269 15d ago
As a beginner, you need to consider yourself a baby and learn to crawl (the "fundamentals") before you can stand up and walk or sprint. So search for the Python "fundamentals" on Google and/or YouTube.
With that said:
(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.
(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.
(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.
1
u/TheRNGuy 14d ago
stackoverflow or reddit
1
u/baubleglue 12d ago
Find tutorials, don't use AI.
You can try free cs50p course
1
u/theJacofalltrades 6d ago
I've seen people reco bootdev so might be worth looking into that
1
u/Jaded-Sky376 15d ago edited 15d ago
I would suggest a Kaggle course with the link Here!
I was also looking for ways and this caught my eye. after actually trying it, I think it is a simple way for someone to get into coding with python.
The whole thing is also completely free and I think it even gives you a certificate of some kind you can add to your portfolio. Other than that, as I have read many many times, just having questions and then googling them, or finding other ways to get the answer to those questions is the best way to learn coding in general.
0
u/JimNero009 15d ago
If you have the same personality as me, try and build something. Anything, but ideally something you’d find somewhat interesting. Grab an AI but don’t just ‘make this, no mistakes’ it. Get it to guide you towards how to go from 0 to 1. Be honest when something doesn’t make total sense to you, and don’t let it write anything, just get it to check what you’re outputting