Commit 59357385 by BellCodeEditor

save project

parent bd7dfd86
Showing with 9 additions and 2 deletions
......@@ -4,7 +4,14 @@ class hero:
self.hp= 300
self.attack= 20
def upgrada():
yase.
houyi = hero("后",240,23)
yase = hero(“亚”,300,20)
print("亚血:",yase.hp)
print("后攻:",houyi.hp)
\ No newline at end of file
upgrada()
upgrada()
print("2",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