Commit e8b0ddff by BellCodeEditor

save project

parent a214c384
Showing with 2 additions and 2 deletions
...@@ -5,4 +5,4 @@ class Hero: ...@@ -5,4 +5,4 @@ class Hero:
self.attack=20 self.attack=20
yase=Hero() yase=Hero()
print("血量:",yase.hp) print("血量:",yase.hp)
print("攻击:",yaseattack) 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