7 lines
No EOL
174 B
Python
7 lines
No EOL
174 B
Python
|
|
length = float(input("Enter a value for length "))
|
|
width = float(input("Enter a value for width "))
|
|
|
|
areaOfRectangle = length * width
|
|
|
|
print(f"Area = {areaOfRectangle:.2f}") |