Commit 7c7e100c by BellCodeEditor

save project

parent 8cf92be5
Showing with 2 additions and 0 deletions
...@@ -7,3 +7,4 @@ class Hero: ...@@ -7,3 +7,4 @@ class Hero:
yase = Hero('亚瑟',300,30) yase = Hero('亚瑟',300,30)
houyi = Hero('后羿',200,40) houyi = Hero('后羿',200,40)
print(yase.hp) 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