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

Calculadora de n números

parent 4a36a93d
suma = 0
verdad = True
while verdad:
x = int(raw_input("Ingrese nmero:\n"))
if x == 0:
verdad = False
suma = suma + x
print "El resultado es: ", suma
raw_input()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment