Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- max = -1
- for i in range(0, n):
- if a[i] >= 100 and a[i] <= 999 and a[i] % 5 == 0 and a[i] > max:
- max = a[i]
- if max != -1: print(max)
- else: print("Не найдено")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement