suma = 0
numero = int(input("Ingresa un número: "))

while numero != 0:
    suma += numero
    numero = int(input("Ingresa otro número: "))

print(f"La suma total es: {suma}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: