We encapsulate the data and function by giving Rectangle the base and height properties and a getArea() method.
Rectangle
base
height
getArea()
Make sure to pick height followed by def and then getArea, (, ).
def
getArea
(
)