Gonef

Untitled

Feb 23rd, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. for x in range(100,0,-1):
  2. if type(x % 5) == 0:
  3. print(str(x) + ' jest podzielne przez 15')
  4. elif type(x % 5) == 0:
  5. print(str(x) + ' jest podzielne przez 5')
  6. elif type(x % 3) == 0:
  7. print(str(x) + ' jest podzielne przez 3')
  8. else:
  9. print(str(x) + ' nie jest podzielne przez 3, 5 oraz 15')
Add Comment
Please, Sign In to add comment