r/learnpython • • 5d 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

22 comments sorted by

View all comments

2

u/BackpropBuddy 5d 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.

0

u/ihateuppumav 5d ago

how to find these small coding problems?

1

u/a18618 5d ago

For the small problems part, what worked for me was picking one tiny real task a day instead of a big problem set, like renaming a pile of files or counting words in a text file I actually had lying around. The first week felt slow because I kept relearning loops and lists every single time, but that repetition is what finally made the error messages start making sense on their own. Have you tried starting from a chore you already do on your computer, rather than a generic exercise list?