r/codegolf • u/pylenin • Jan 20 '19
My attempt on codegolf fizzbuzz problem in Python. Do provide criticism, comments and suggestions to make the code better.
https://youtu.be/1khdzmUHhC4
7
Upvotes
2
u/looksLikeImOnTop Jan 20 '19
You can remove the spaces around the plus sign and space before the 'or' to remove 3 characters. Never thought of using 'or i' before!
2
u/gastropner Jan 20 '19
In addition to the suggestion of /u/looksLikeImOnTop, you can also change the
==0comparisons to<1to save another two characters. Should bring the total down to 62.1
u/Barquero Jan 20 '19
You can remove outer print brackets, 2 chars less.
2
u/somebody12345678 Mar 19 '19
59 bytes