Commit 7642c907 by BellCodeEditor

save project

parent 0fc44fa9
Showing with 4 additions and 4 deletions
......@@ -4,7 +4,7 @@ class Hero:
self.name=name
self.hp=hp
self.attck=attck
yase=Hero('亚瑟',300,20)
houyi=Hero('后羿',240,30)
yase=Hero("亚瑟",300,20)
houyi=Hero("后羿",240,24)
print(yase.hp)
print(houyi.name)
\ No newline at end of file
print(houyi.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