Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h=3
- d=5
- c=0
- while c < 9:
- if (h%3 == 0) and ( h < 10):
- print(str(h))
- h = h +3
- if (d%5 == 0) and (d < 10):
- print(str(d))
- d = d + 5
- l = h + d
- c = c + 1
- print('\n %f' %(l))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement