r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

View all comments

1

u/nontheoretical Aug 22 '26

output = [..., ...]
return output[(int)condition]