#declararvariable
l=3
b=2
h=4
# proceso 
p=l+l+b
A=b*h/2
print("elarea",A)
print("elperimetro",p)

Embed on website

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