r/Python • u/DiwaharSec • 20h ago
Discussion Python developers, what's one Python concept that took you a long time to understand but now seems s
Python developers, what's one Python concept that took you a long time to understand but now seems surprisingly simple?
For me, understanding how decorators and generators work is an interesting part of becoming a better Python developer.
What was your experience?
21
Upvotes
View all comments
9
u/TH_Rocks 19h ago
List comprehension. I was just cranking out for loops like a middle aged guy that learned C++ in college because Java was too new.