Re:Unpythonic Python
by acqq on Wednesday April 09, 2014 @08:25PM
(#7563481)
And also C based on the same idea as my Python (but this has to ? for 0s):
[ Parent
| on HN ]
Don't ruin that version with an if statement.
Use this and avoid it( and the second array as well ):
char * a[] = { "%d\n" , "Fizz\n" , "Buzz\n" , "FizzBuzz\n" } ;