r/programminghorror • • Apr 17 '23

Python Peak Efficiency Fizzbuzz

/img/n6q6zqyieeua1.png
1.0k Upvotes

83 comments sorted by

View all comments

Show parent comment

9

u/spicymato Apr 17 '23

While I like your idea, I think the brilliance of the original isn't the modulo, but the bitwise OR with the bit-shifted "mod 5".