Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3list=[]
- 5list=[]
- x=0
- y=0
- while x < 1000:
- if x / 3 = int(x):
- 3list.append(x)
- x = x + 1
- while y < 1000:
- if y / 5 = int(y):
- 5list.append(y)
- y = y + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement