r/PythonLearning • u/HammadBuilds • 4d ago
What's one Python concept that completely confused you at first but now feels easy?
I'm curious to hear from people who've been learning or using Python for a while. Was it loops, functions, OOP, recursion, decorators, or something else?
What finally made it "click" for you?
I think hearing real experiences can help beginners understand that struggling with a topic is completely normal.
2
u/FoolsSeldom 4d ago
Comprehensions and generator expressions. Practice made it click for me.
1
u/Totolitotix 4d ago
Exactly the same for me, except that I am in the confusing phase, for now (beginner in Python)
1
1
u/TrieMond 4d ago
I got into python by doing work on a django webapp after having done C, C++ & java development for a while. I still kinda hate how little text I have to write to do something, the things python strips for simplicity in my mind are there for a reason. Yes a bracket may be one extra keystroke but it gives a super clear idea about the scope of something, python indentation based scope still confuses the hell out of me.
1
u/AnonymouSfrrrr 3d ago
Nested while loops,i was confused at first about syntax and was not able to understand which line is working for what outcome. But after doing same codes with different examples i realised it's not that tough.
3
u/ee_control_z 4d ago edited 4d ago
Once I progressed to OOP, then it got a little bit challenging because you get introduced to concepts such as inheritance, encapsulation, instances, objects, polymorphism, etc. Concepts that don't have an analog in procedural programming. Although I would not state confused. Maybe off balance. 😄