Advertisement
Alelluja

Untitled

Dec 18th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. for i in range(1, 21):
  2. if(i % 3 == 0) and (i % 5 == 0):
  3. print("FizzBuzz")
  4. elif (i % 3 == 0):
  5. print("fizz")
  6. elif(i % 5 == 0):
  7. print("buzz")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement