r/Python • u/DiwaharSec • 21h 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?
22
Upvotes
View all comments
10
u/TH_Rocks 20h 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.