2026fa_cse160/homework/homework04/input/rectangle02.py

7 lines
166 B
Python

length = float(input("Enter a value for the length: "))
width = float(input("Enter a value for the width: "))
area = length * width
print(f"The area is {area}")