Commit 22672ab0 by BellCodeEditor

save project

parent 712b2376
Showing with 3 additions and 0 deletions
......@@ -10,3 +10,5 @@ class Hero:
self.attack = self.attack + 50
yase = Hero("yase",300,20)
houyi = Hero("houyi",250,23)
yase.upgrade()
print(yase.level)
\ 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