Commit f489f44e by BellCodeEditor

save project

parent 9d2dfec2
Showing with 4 additions and 3 deletions
......@@ -5,6 +5,7 @@ class Heyo:
self.attack=attack
yase = Heyo('垭瑟',300,20)
houyi = Heyo('后羿',250,25)
libai = Heyo('李白')
libai = Heyo('李白',350,15)
print(yase.hp)
print(houyi.hp)
\ No newline at end of file
print(houyi.hp)
print(libai.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