pollos=2
vacas=4
cerdos=4
poll=int(input("Ingrese cuanto es el total de pollos"))
vac=int(input("Ingrese cuanto es el total de vacas"))
cer=int(input("Ingrese cuanto es el total de cerdos"))
pollos*=poll
vacas*=vac
cerdos*=cer
a=pollos+vacas+cerdos
print("El número total de patas de todos los animales es de:")
print(a, "patas")
To embed this project on your website, copy the following code and paste it into your website's HTML: