Posts by Ramon Amorim • 1 point
1 post
-
-1
votes4
answers11856
viewsA: Higher and lower value problem with while. (No list!)
x = 'S' cont = 0 maior = 0 menor = 0 while x != 'N': z = int(input('Digite um numero: ')) cont += 1 if cont == 1: maior = z menor = z …