Commit 44dd2134 by BellCodeEditor

save project

parent 3b18611b
Showing with 2 additions and 1 deletions
...@@ -4,7 +4,7 @@ class hero: ...@@ -4,7 +4,7 @@ class hero:
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
zhouyu=hero() zhouyu=hero('')
print(zhouyu.hp) print(zhouyu.hp)
print(zhouyu.attack) print(zhouyu.attack)
print(zhouyu.lever) print(zhouyu.lever)
\ 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