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