Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def maiornumero(num):
- a=0
- for x in num:
- if x>a :
- a=x
- return a
- numeros = [4,8,2,6,3,5]
- maiornumero(numeros)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement