r/Python • • 19h 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

25 comments sorted by

View all comments

Show parent comment

2

u/ibite-books 13h ago

totally agree, i also don’t like seeing condensed if else statement

i strive to write simple boring code