def fizzbuzz(): x = 1 while x <= 100: if x % (3 * 5) == 0: print 'FizzBuzz' elif x % 3 == 0: print 'Fizz' elif x % 5 == 0: print 'Buzz' else: print x x += 1 fizzbuzz()
def fizzbuzz(): x = 1 while x <= 100: if x % (3 * 5) == 0: print 'FizzBuzz' elif x % 3 == 0: print 'Fizz' elif x % 5 == 0: print 'Buzz' else: print x x += 1 fizzbuzz()