Guest User

Untitled

a guest
Jun 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. >>> class OnlyNeedOne:
  2. ... def Talk( self, arg ):
  3. ... print "I'm %s and I'm here to say %s" % ( self.member, arg )
  4. ... member = 'the only one of my class'
  5. ...
  6. >>> OnlyNeedOne().Talk('hello')
  7. I'm the only one of my class and I'm here to say hello
Add Comment
Please, Sign In to add comment