Commit 271ee040 by BellCodeEditor

auto save

parent 249f7687
Showing with 2 additions and 1 deletions
...@@ -3,6 +3,6 @@ class hero: ...@@ -3,6 +3,6 @@ class hero:
self.level=1 self.level=1
self.hp=300 self.hp=300
self.attack=2000000 self.attack=2000000
余英雄 = hero() 余英雄 = hero(999)
print(余英雄.level) print(余英雄.level)
print(余英雄.attack) print(余英雄.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