Added formatted print

This commit is contained in:
jdavilabeaz2401 2025-11-26 13:38:05 -05:00
parent f8a445bb7d
commit 7159b59de0

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}")