SHARE
TWEET

Untitled

a guest Oct 12th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = True
  2. a = []
  3. index = 0
  4.  
  5. while x:
  6.     getal = int(input())
  7.     if (getal >= 0 and getal < 100):
  8.         a.append(getal)
  9.     else:
  10.         x = False
  11.  
  12. getal = 0
  13.  
  14. while index < len(a):
  15.     if a[index] > getal:
  16.         getal = a[index]
  17.     index += 1
  18.  
  19. print(getal)
RAW Paste Data
Top