Added formatted print

This commit is contained in:
cmitchell2301 2025-12-14 18:49:35 -05:00
parent e5a2871292
commit 8c58c445e8

View file

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