Commit b3b6e768 by BellCodeEditor

auto save

parent ef39df1c
Showing with 12 additions and 5 deletions
class hero:
def __init__(self):
self.level=1
self.hp=300
self.attack=2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
class Hero:
def __init__(self,name):
self.name = name
self.level = 1
self.hp = 300
self.attack = 20
yase = Hero('亚瑟')
houyi = Hero('后羿')
yase.hp = 500
\ 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