Commit b19bec26 by BellCodeEditor

save project

parent f8008ab7
Showing with 2 additions and 0 deletions
...@@ -5,5 +5,6 @@ class hero: ...@@ -5,5 +5,6 @@ class hero:
self.attack=20 self.attack=20
yase=hero() yase=hero()
print("yase的等级为:",level=1)
print("yase的血量值为:",yese.hp) print("yase的血量值为:",yese.hp)
print("yase的攻击力为:",yese.attack) print("yase的攻击力为:",yese.attack)
\ 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