Created
May 2, 2021 10:57
-
-
Save raeq/2ec9cce114176aff91f6ae74ad816e24 to your computer and use it in GitHub Desktop.
Square and Circle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
class Square: | |
length: int | |
def __init__(self, length=0): | |
self.length = length | |
class Circle: | |
radius: int | |
def __init__(self, radius=0): | |
self.radius = radius |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment