Commit 7c7e100c by BellCodeEditor

save project

parent 8cf92be5
Showing with 3 additions and 2 deletions
......@@ -6,4 +6,5 @@ class Hero:
self.attack = attack
yase = Hero('亚瑟',300,30)
houyi = Hero('后羿',200,40)
print(yase.hp)
\ No newline at end of file
print(yase.hp)
print(houyi.name)
\ 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