Commit 97f8c35f by BellCodeEditor

save project

parent eefb8614
Showing with 6 additions and 3 deletions
......@@ -92,10 +92,12 @@ again()
class hero:
def_init_(self):
def_init_(self,name,hp,attack):
self.level=1
self.hp=300
self.attack=20
self.name=name
self.hp=hp
self.attack=attack
yase=hero()
houyi=hero()
print()
print()
\ No newline at end of file
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