Commit 72cb9ca4 by BellCodeEditor

save project

parent f2b06757
Showing with 3 additions and 3 deletions
...@@ -4,5 +4,5 @@ class Heor(): ...@@ -4,5 +4,5 @@ class Heor():
self.Hp=300 self.Hp=300
self.Attack=20 self.Attack=20
yase=Heor() yase=Heor()
print("亚瑟的血量是",hp) print("亚瑟的血量是",yase.Hp)
print("垭瑟的攻击力是",attack) print("垭瑟的攻击力是",yase.Attack)
\ No newline at end of file \ 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