Added formatted print

main
vnakonechnyi 2024-12-21 20:42:34 -05:00
parent 86e7e7ede6
commit 30db79534a
1 changed files with 1 additions and 1 deletions

View File

@ -4,4 +4,4 @@ width = float(input("Enter a value for width "))
areaOfRectangle = length * width areaOfRectangle = length * width
print("Area = ",areaOfRectangle) print(f"Area = {areaOfRectangle:.2f}")