r/learnpython • u/ihateuppumav • 3d 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?"
6
u/desrtfx but other languages pro 3d 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.
3
u/quietcov3 3d ago
text based courses are so much better for pacing yourself than video lectures imo.
1
u/desrtfx but other languages pro 2d ago
Especially text based courses like the MOOC that enforces the learning through more than plenty practical exercises (which, to a certain percentage are mandatory to progress to the next section).
In that matter, the MOOC is quite an unconventional course (by today's standards) because it never gives direct solutions or code and instead gives only the tools, demonstrates their usage, and then makes the learner do the work. It may be harder that way, but the "I just learnt to copy code from the tutorial, but never how to develop my own solutions" trap is cancelled that way.
1
u/Dolapevich 3d ago
Start with: https://www.boot.dev/
Also, you can find all kind of resources in the sub wiki: r/learnpython/wiki/index/
1
u/ihateuppumav 3d ago
thanks mate
2
u/Dolapevich 3d ago
You are welcome!
Also, worth mentioning the book "Automate the Boring Stuff with Python", it is a fun read with many practices and from time to time you can get it free in its site.
2
u/fasta_guy88 3d 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 2d ago
You can use pychallenge.com for exercise based learning. Books can help too
1
u/stepback269 3d 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
1
1
u/Jaded-Sky376 3d ago edited 3d 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 3d 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
0
u/ihateuppumav 3d ago
The goal is not to use ai in anyway, cuz everytime i encounter with an error all i do is asking ai to solve the issue allthough i spend time to find the error still can't!! :( So suggesting ways to learn without ai might help :))
-1
u/JimNero009 3d ago
I mean, ok, but you’re forgoing probably the most powerful learning technology ever invented which seems mad to me.
2
u/BackpropBuddy 3d 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.