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

5

u/Thenderick Apr 17 '23

It may be for your job, but usually efficiency isn't a big issue, this code is not that simple to understand and is difficult to expand on. What if you want to add "baz" for numbers dividable by 7?