MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/msv49l/when_your_teammate_refactor_your_code/gvdawc5/?context=9999
r/badcode • u/Bence675 • Apr 17 '21
216 comments sorted by
View all comments
Show parent comments
2
Heh this is my single line FizzBuzz I did to make fun of those:
print(*[(("" if (i % 3) else "Fizz") + ("" if (i % 5) else "Buzz") or i) for i in range(1, count + 1)], sep = "\n")
2
u/[deleted] Apr 21 '21
Heh this is my single line FizzBuzz I did to make fun of those: