G2A Many GEOs
SHARE
TWEET

Untitled

a guest Mar 31st, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. class Person:
  3.     def __init__(self, name, health, gold, experience):
  4.         self.name = name
  5.         self.health = health
  6.         self.gold = gold
  7.         self.experience = experience
  8.  
  9.     def print_stat(self):
  10.         print(self.name, self.health, self.gold, self.experience)
  11.  
  12.  
  13.  
  14. p1 = Person("jack", 100, 0, 0)
  15. p1.print_stat()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top