+ 1
How to write area of rectangle input in Python
2 Respuestas
+ 2
rectangle is simply Length * Width.
Example Input:
length = int(input("Length? "))
width = int(input("Width? "))
Example Output:
print("Area is {}".format(length*width))
+ 1
This example should help.
https://code.sololearn.com/cJp3c4q9D6nv/?ref=app