r/shittyprogramming • • Apr 23 '19

Space efficient & lines up nicely

Post image
521 Upvotes

58 comments sorted by

View all comments

Show parent comment

3

u/Scyntrus Apr 24 '19

Python already has "y if x else z"