Commit e66fc4a7 by BellCodeEditor

save project

parent 0338deee
Showing with 7 additions and 0 deletions
......@@ -4,4 +4,10 @@ class Hero():
self.hp=hp
self.attack=attack
def yp():
"亚瑟".attack=yese.attack+100
"亚瑟".hp=hp+100
yese=Hero("亚瑟",999999,99999)
print(self.hp)
print(self.attack)
print(self.name)
\ 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