Commit bd7dfd86 by BellCodeEditor

save project

parent 770bd1f6
Showing with 5 additions and 4 deletions
......@@ -4,6 +4,7 @@ class hero:
self.hp= 300
self.attack= 20
yase = hero()
print("yase血:",yase.hp)
print("yase攻:",yase.attack)
\ No newline at end of file
houyi = hero("后",240,23)
yase = hero(“亚”,300,20)
print("亚血:",yase.hp)
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