Page 1: length = int(input("Enter the length of the rectangle: ")), width = int(input("Enter the width of the rectangle: ")), area = length * width, print("The area of the rectangle is " + str(area) + "."),

Reassemble a broken program to create a functional Python script. The program calculates the area of a rectangle.

Leaderboard

Visual style

Options

Switch template

Continue editing: ?