11
dbramucci
1 6 17
584/ 645
Danny Bramucci
Last seen 3 years ago
Member for 7 years, 5 months, 17 days
Difficulty Normal
Best reviews / Newest reviews
First FizzBuzz-Chammhyrron 1
Good solution, your solution works perfectly, is simple, fast and easy to understand. I would suggest that you improve the styling to match pep-8 guidelines. Here's the code updated to pep-8. def checkio(number): if number % 3 == 0 and number % 5 == 0: return "Fizz Buzz" More
1 line first-RegiGhekon
Nice, might I suggest that you eliminate the parenthesis around the `return` statement and use `% 15` instead of `(number%5 == 0 and number%3 == 0)` These changes together give def checkio(number): return "Fizz"*(number % 3 == 0) + " "*(number % 15 == 0) + "Buzz"*(number % 5 == 0) or s More
First-smokin44
Since you have described this as a speedy solution I would like to point out an issue that will slow down your code for large inputs. Please don't feel bad about this review, I just want to show you something that can help you make your future code a lot faster. Honestly, you have to make a file wi More