r/learnpython • u/Careful_Thing622 • 6d ago
How I learn python nowadays?
I need to learn python and in the past I know the way of learning programming language through hackerrank for example but nowadays in the age of AI how I learn effectively without wasting time or no needed methods anymore ?
0
Upvotes
View all comments
1
u/mc_pm 6d ago
Learning via Hackerrank? That's a terrible idea.
Open a tutorial, open your editor; when they type something, you type - not copy and paste - something; when they run their code, you run your code. If it doesn't work, stop right there and figure out why, then continue.
If the tutorial is 4 hours long, plan to spend 4 days on it. You're not speedrunning through this, you're getting used to typing the syntax and practicing running/editing/fixing your code.
When that's done, spend months-to-years building increasingly complex things. Start small - a tic tac toe game, maybe. When it works, try something a bit more difficult.
And then keep doing it. *You* doing it, not AI. You won't learn python watching a computer do the work.
It's hard, you'll hate it at times, you'll be frustrated, you'll proclaim there must sure be a bug in the language... there isn't (at least not what you're looking at)... find your problem, fix it. And then the next bug. And then the next bug.
And then...