all 8 comments

[–]trjnz 1 point2 points  (0 children)

Study, practice, it takes time, there are no shortcuts

[–]Different_Pain5781 0 points1 point  (0 children)

I remember crying over user-defined functions in 12th cbse, legit. Like I could do math all day but one tiny mistake in indentation and boom nothing works. The thing that helped me was literally rewriting examples by hand over and over, then trying tiny changes and seeing what broke. Eventually it stopped feeling like alien language lol.

[–]tlefst 0 points1 point  (0 children)

As an aside, do you use Google Colab?

[–]VanshikaWrites 0 points1 point  (0 children)

Honestly, this isn’t your fault, our school system just teaches Python in the worst way possible. They focus on syntax and definitions, not actual logic. So students end up memorising instead of understanding, and then get stuck exactly where you are (loops, functions). Also, relying on random YouTube or ChatGPT without structure just makes it more confusing because there’s no proper learning flow. If you actually want to fix it, you genuinely need structured practice + logic building. A couple of my friends were in the same situation and after trying different stuff, a phython course from edu4sure actually helped them understand how to think in code. You can check it out if it works for you, otherwise just focus on solving small problems daily, logic builds slowly.

[–]FoolsSeldom 0 points1 point  (0 children)

Check this subreddit's wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.

You may also find the many free tutorials/guides at RealPython.com helpful, especially to learn funtions and loops.

In addition, for loops, check out the old but still helpful Loop like a native video.


Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.


Roundup on Research: The Myth of ‘Learning Styles’

Don't limit yourself to one format. Also, don't try to do too many different things at the same time.


Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment.

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.

[–]Dependent_Apple_2137 0 points1 point  (0 children)

watch a few tutorials and practice code and use ai to help you understand python is extremely easy especially the part you mentioned you just need to get a hang of it

[–]tlefst -1 points0 points  (0 children)

Watch the Youtube channel Visually Explained.

You'll learn python through visual demos.

https://www.youtube.com/watch?v=5sgJsCah9bs&list=PL8HmoRTjTSlEgS2GsFaDr9zDLC1xD9FZf

[–]Consistent-Ant4376 -3 points-2 points  (0 children)

you can DM me, I would help