Commit 04644cb9 by BellCodeEditor

save project

parent 0e129619
Showing with 2 additions and 1 deletions
...@@ -12,7 +12,7 @@ def upgrade(self): ...@@ -12,7 +12,7 @@ def upgrade(self):
chenshi = hero("陈石"300,20) chenshi = hero("陈石"300,20)
print(chenshi.name+"一级攻击力是"+str(chenshi.attack)) print(chenshi.name+"一级攻击力是"+str(chenshi.attack))
upgrade() chenshiupgrade()
upgrade() upgrade()
upgrde() upgrde()
print(chenshi.name+"现在的攻击力是"+str(chenshi.attack)) print(chenshi.name+"现在的攻击力是"+str(chenshi.attack))
\ 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