My code:
def inner_function(self):
    x = "one"
    y = "two"
def outer_function(self):
    self.inner_function()
    print "X is %" % x
    print "Y is %" % y
outer_function()
I want the output to be:
>>> X is one
>>> Y is two
I think I'm not understanding the correct use of self in a Python method/function.
The error I'm currently returning is: TypeError: outer_function() takes exactly 1 argument (0 given) Thanks for any help!