Created
August 5, 2020 18:18
-
-
Save brennanbrown/ca8279cc8cb9e09fb221554727ae42ab to your computer and use it in GitHub Desktop.
This file contains 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
class Shape: | |
def draw(self): | |
# Draw Code | |
from math import pi class Circle(Shape): | |
radius_cm = 4 | |
Origin = (0, 0) | |
def draw(self) | |
circumference = pi * (self.radius_cm ** 2) | |
# Draw the circumference at origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment