Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in range(1, 1001, 1):
- if i % 10 == 7:
- print(i)
- Оптимално решение:
- for i in range(7, 998, 10):
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement