Por favor, reportar cualquier inconveniente o problema a coordinacion@labcomp.cl

Número mayor.py

parent a51736de
......@@ -2,13 +2,13 @@ mayor = 0
verdad = True
while verdad:
x = int(raw_input("Ingrese un nmero:\n"))
x = int(raw_input("Ingrese un numero:\n"))
if x == 0:
verdad = False
elif x > mayor:
mayor = x
print "El nmero mayor es: ", mayor
print "El numero mayor es: ", mayor
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment