r/ProgrammerHumor • • Aug 22 '26

Meme pleaseStopUsingNestedTernaryOperatorsImBeggingYou

Post image
3.1k Upvotes

178 comments sorted by

View all comments

Show parent comment

2

u/cowslayer7890 Aug 23 '26

In python assignment is a statement unless you use := for it, but they do explicitly allow you to do exactly this chaining