You want to create a class Rectangle that stores width and height and has a method area returning the area. Which is the correct complete class definition?
hard📝 Application Q8 of 15
Python - Classes and Object Lifecycle
You want to create a class Rectangle that stores width and height and has a method area returning the area. Which is the correct complete class definition?