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