#declararvariable 
a=4
b=3
c=2
h=4
#porceso 
p=a+b+c
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: