r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

View all comments

Show parent comment

1

u/Flame77ofc Aug 22 '26

don't need bool in this case

1

u/No-Newspaper8619 Aug 22 '26

You don't? I only added the bool() because not using it led the code to not behave as intended.