modified the print formats
This commit is contained in:
parent
935cecbb7f
commit
9871aa99f3
2 changed files with 2 additions and 2 deletions
|
|
@ -5,4 +5,4 @@ height = float(input("Enter a value for height "))
|
|||
|
||||
volumeOfRectangle = length * width * height
|
||||
|
||||
print(f"Area = {volumeOfRectangle:.2f}")
|
||||
print(f"Area = {volumeOfRectangle:.1f}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue