Last active
January 3, 2016 17:59
-
-
Save jayceekay/8499011 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 Person: | |
def __init__(self, name): | |
self.name = name | |
def get_name(self): | |
return self.name; | |
p = Person('justin') | |
print('p\'s name is {}.'.format(p.get_name())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment