Compute Area and Perimeter of a Square

# Introduction In this lab, you need to create a class called `Square` with an attribute `length` and methods `compute_area()` and `compute_perimeter()` to calculate the area and perimeter of a square, and then create an object of the `Square` class, take user input for the length, and print the area and perimeter.

|
60 : 00

Click the virtual machine below to start practicing