Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = range(1, 100)
- var = input("Type a number to divide: ")
- for num in x:
- if int(var) <= 100 and num % int(var) == 0:
- print(num)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement