-
-
Save JeffersGlass/d0871b5ec73c6ff89a5b40b7a0ddcfb6 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 Treasure(): | |
def __init__(self, name, value=1): | |
self.name = name | |
self.value = value | |
def getIntroduction(self): | |
return "Hello! I am called " + self.name + " and I am worth " + str(self.value) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment