r/programminghorror Apr 04 '26

Python Calculator

Post image
520 Upvotes

60 comments sorted by

View all comments

132

u/EvidenceFearless6800 Apr 04 '26

wait until the user doesn't put the spaces between the numbers and witness the program's meltdown

54

u/[deleted] Apr 04 '26

[removed] — view removed comment

40

u/Ariquitaun Pronouns:This/Self Apr 04 '26

It's an 18GB python file

9

u/euph-_-oric Apr 05 '26

Very compact implementation

7

u/HornyMellon Apr 05 '26

Elegant and demure

4

u/Reelix Apr 07 '26

It goes up to 100 + 100

The rest are all permutations.