Commit fd35a016 by BellCodeEditor

save project

parent c68bcb0e
Showing with 1 additions and 1 deletions
...@@ -3,5 +3,5 @@ class hero: ...@@ -3,5 +3,5 @@ class hero:
self.level=10 self.level=10
self.hp=800 self.hp=800
self.attack=160 self.attack=160
liudan=hero liudan=hero()
print(liudan.hp) print(liudan.hp)
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