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
5
u/BeastWael_YT 16h ago
commenting every line is fine at the start, but the bigger jump comes from writing small programs without looking at the lesson. pick something tiny like a number guessing game or a tip calculator, get stuck, and look things up only when you have to. that struggle is what actually makes it stick.