Created
March 26, 2018 23:32
-
-
Save calthoff/8b542779cf636b330f38239212bf40e2 to your computer and use it in GitHub Desktop.
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
| class Shape(): | |
| def __init__(self, w, l): | |
| self.width = w | |
| self.len = l | |
| def print_size(self): | |
| print("""{} by {}""".format(self.width, self.len)) | |
| class Square(Shape): | |
| pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment