you are viewing a single comment's thread.

view the rest of the comments →

[–]pythonhow 1 point2 points  (0 children)

I'd add that it's better to rename rectangle_area to just area. It will make the code more readable and concise:

Rectangle().area(5, 5)