+ 1

How to write area of rectangle input in Python

27th Jul 2018, 12:15 PM
Sandeep Singh
Sandeep Singh - avatar
2 ответов
+ 2
rectangle is simply Length * Width. Example Input: length = int(input("Length? ")) width = int(input("Width? ")) Example Output: print("Area is {}".format(length*width))
27th Jul 2018, 1:12 PM
LordHill
LordHill - avatar
27th Jul 2018, 12:31 PM
davy hermans
davy hermans - avatar