print("Determina una base y una altura para un rectángulo")
b=int(input())
h=int(input())
prm=b+b+h+h
ara=(b*h)
print(f"El perímetro del rectángulo es {prm}, y la superficie sería {ara}")
To embed this project on your website, copy the following code and paste it into your website's HTML: