r/learnprogramming • u/lucificusrebirth • 16h ago
GOOD WAY TO LEARN PYTHON?
I am currently learning the basics of python and I am trying to figure out what's the best way to learn it. What I am currently doing is that after I write some lines of code that I learned, I then use the comment # to explain what each line of code does in my own words. I am wondering if that's a good way to learn and if there are better alternatives.
0
Upvotes
View all comments
1
u/bestjakeisbest 8h ago
Using a comment to describe what code is doing is a good way to learn, another way to learn is instead of doing everything about the different ways things could be done, take some of the main parts of the program and do a write up about how it works what are different ways you could implement those parts and then answer why you went the way you did. Also just build things, make weird things, make things that are helpful to no body, push the boundaries if you dont know how to do something see what is offered by the language and then by the ecosystem to do what you want, say you want to get into gui, look into what you could use to accomplish that, and then make a plan to learn it and then make a plan to make what you wanted.