Commit 590abbed by BellCodeEditor

save project

parent 275788fb
Showing with 3 additions and 3 deletions
......@@ -6,5 +6,5 @@ class Hero():
self.attack = attack
yase = Hero("娅瑟",300,20)
houyi = Hero("冯愚扔",0,0)
print(yase.hp)
print(houyi.attack)
\ No newline at end of file
print("娅瑟的血量:".hp)
print("冯愚扔的血量:".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