Commit 19b2f60c by BellCodeEditor

save project

parent 1a91c9c6
Showing with 2 additions and 1 deletions
......@@ -9,7 +9,7 @@ class Hero:
self.hp=self.hp+121216
self.attack=self.attack+000000000
self=Hero("亚瑟",100,120)
yase=Hero("亚瑟",100,120)
print("亚瑟血量为",yase.hp)
yase.upgrade()
print(yase.name+str(yase.hp))
\ 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