print("Ingresa 4 valores")

a=int(input("Ingresa el primer valor: "))
b=int(input("Ingresa el segundo valor: "))
c=int(input("Ingresa el tercero valor: "))
d=int(input("Ingresa el cuarto valor: "))

sum_abs=abs(a)+abs(b)+abs(c)+abs(d)

print(f"La suma absoluta de los valores es {sum_abs}")

Embed on website

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