suma = 0
for i in range(5):
    print("Ingresa el número")
    num= int(input())
    print(num)
    r= i+1
    suma += num
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: