Commit 251e6ede by BellCodeEditor

save project

parent c2c8c369
Showing with 1 additions and 0 deletions
......@@ -5,6 +5,7 @@ class Hero:
self.hp=hp
self.attack=attack
def a(self,level,hp,attack):
yase=Hero("亚瑟",300,20)
YTY=Hero("廷宇",100,1000)
print(yase.name)
......
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