Commit 1c5bb866 by BellCodeEditor

save project

parent c8d71e9a
Showing with 2 additions and 2 deletions
......@@ -2,8 +2,8 @@ class Hero:
def __init__(self):
self.level=1
self.name=name
self.hp=300
self.attack=20
self.hp=hp
self.attack=attack
yase=Hero("yase",300,20)
houyi=Hero("houyi",240,23)
......
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