📅  最后修改于: 2022-03-11 14:58:56.993000             🧑  作者: Mango
length = int(input("What is the length?: "))
width = int(input("What is the width?: "))
area = length*width
perimeter = 2*(length+width)
print (("Area: ") + str(area))
print (("Perimeter: ") + str(perimeter))