Skip to content

Instantly share code, notes, and snippets.

@srinivasreddy
Created April 30, 2013 06:44
Show Gist options
  • Select an option

  • Save srinivasreddy/5486991 to your computer and use it in GitHub Desktop.

Select an option

Save srinivasreddy/5486991 to your computer and use it in GitHub Desktop.
class A(object):
a='hello'
def printing(self):
a='world'
print a
print self.a
@naveen1811
Copy link

world
hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment