Skip to content

Instantly share code, notes, and snippets.

@lohenyumnam
Last active January 24, 2020 06:03
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 lohenyumnam/e693afde52f906797f5024fed25b283d to your computer and use it in GitHub Desktop.
Save lohenyumnam/e693afde52f906797f5024fed25b283d to your computer and use it in GitHub Desktop.
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello man " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment