Skip to content

Instantly share code, notes, and snippets.

@raeq
Created May 2, 2021 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raeq/8bfcf13773659a9d7b6b923a17a66926 to your computer and use it in GitHub Desktop.
Save raeq/8bfcf13773659a9d7b6b923a17a66926 to your computer and use it in GitHub Desktop.
Driver code
my_circle = Circle(6)
my_square = Square(12)
print(area(my_circle))
print(area(my_square))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment