Skip to content

Instantly share code, notes, and snippets.

@jayceekay
Last active January 3, 2016 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayceekay/8499011 to your computer and use it in GitHub Desktop.
Save jayceekay/8499011 to your computer and use it in GitHub Desktop.
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