Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Entrada
- numeros = int(input("Type how many numbers will be on the list"))
- maior = 0
- # Processo
- while numeros != 0:
- numeros -= 1
- inteiros = int(input("Type an exact number:"))
- if inteiros > maior:
- maior = inteiros
- menor = maior
- while numeros != 0:
- numeros -= 1
- inteiros = int(input("Type an exact number:"))
- if inteiros < menor:
- menor = inteiros
- #SaĆda
- print("The lowest number is", menor)
Advertisement
Add Comment
Please, Sign In to add comment