#------------------------------------------------------------------------------ # Rectangle.py # Calculates the area of a rectangle #------------------------------------------------------------------------------ length = float(input("enter the length: ")) width = float(input("enter the width: ")) area = length*width print("area = "+str(area)) print("area =", area) # looks exactly the same