i = 1 while i <= 30: if i % 5 == 0 and i % 3 == 0: print('fizzbuzz') elif i % 3 == 0: print('fizz') elif i % 5 == 0: print('buzz') else: print(i) i +=1