diff --git a/rectangle01.py b/rectangle01.py index d2c7c0e..fd822ec 100644 --- a/rectangle01.py +++ b/rectangle01.py @@ -4,4 +4,4 @@ width = float(input("Enter a value for width ")) areaOfRectangle = length * width -print("Area = ",areaOfRectangle) \ No newline at end of file +print(f"Area = {areaOfRectangle:.2f}") \ No newline at end of file