Created
March 24, 2017 13:08
-
-
Save pcote/fbab080c37bc77171ec5ce6f4b51f759 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 MyClass(object): | |
def __init__(her, msg): | |
her.msg = msg | |
def say_stuff(her): | |
print("Say stuff message is: {}\n\n".format(her.msg)) | |
# normal call and instantiation | |
ob1 = MyClass("Hello there, This is me.") | |
ob1.say_stuff() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment