Commit 1a6d99fa by BellCodeEditor

save project

parent 1cf9f5c8
Showing with 13 additions and 0 deletions
class Hero
def __int__(self,name):
self.level= 1
self.hp= 250
self.attack= 40
self.name = name
class Player(Hero)):
def __int__(self,name):
super().__int__(name)
self.hp = 2 0 0
self.attack = 50
\ No newline at end of file
++ "b/\344\273\226\345\267\262\347\273\217\343\200\202py"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment