8 lines
240 B
Python
8 lines
240 B
Python
|
|
||
|
length = float(input("Enter a value for length "))
|
||
|
width = float(input("Enter a value for width "))
|
||
|
height = float(input("Enter a value for height "))
|
||
|
|
||
|
volumeOfRectangle = length * width * height
|
||
|
|
||
|
print(f"Area = {volumeOfRectangle:.2f}")
|