Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = True
- a = []
- index = 0
- while x:
- getal = int(input())
- if (getal >= 0 and getal < 100):
- a.append(getal)
- else:
- x = False
- getal = 0
- while index < len(a):
- if a[index] > getal:
- getal = a[index]
- index += 1
- print(getal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement