FizzBuzz
One of the shortest possible Python implementations of the FizzBuzz problem.
for x in range(100):print x%3/2*'Fizz'+x%5/4*'Buzz'or-~x
Written by Matt Sirocki
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#