Created
March 27, 2018 00:46
-
-
Save calthoff/270b5a29be426a401493faa96be1ca11 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 Rectangle(): | |
| def __init__(self, w, l): | |
| self.width = w | |
| self.length = l | |
| def print_size(self): | |
| print("""{} by {}""".format(self.width, self.length)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment