Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. def highest(y):
  2. Max = 0
  3. for x in y:
  4. if Max < x:
  5. Max = x
  6. else:
  7. Max = Max
  8. return Max
  9. print(highest([2, 5, 4, 3]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement