Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for x in range(100,0,-1):
- if type(x % 5) == 0:
- print(str(x) + ' jest podzielne przez 15')
- elif type(x % 5) == 0:
- print(str(x) + ' jest podzielne przez 5')
- elif type(x % 3) == 0:
- print(str(x) + ' jest podzielne przez 3')
- else:
- print(str(x) + ' nie jest podzielne przez 3, 5 oraz 15')
Add Comment
Please, Sign In to add comment