Commit b84c6546 by BellCodeEditor

save project

parent 690718a1
Showing with 4 additions and 1 deletions
......@@ -4,5 +4,7 @@ class Hero:
self.nema=name
self.hp=hp
self.attack=attack
yase=Hero('后羿',240,23)
houyi=Hero('后羿',240,23)
print(houyi.hp)
yase=Hero('亚瑟',300,20)
print(yase.hp)
\ 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