git_practice/homework06/git-practice/rectangle01.py
2025-12-14 18:49:35 -05:00

7 lines
No EOL
174 B
Python

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