Commit b2c6abc0 by BellCodeEditor

save project

parent 8a2f1175
Showing with 4 additions and 2 deletions
class hero(yase): class hero:
def__init__(selp): def __init__(self):
self.hp=300 self.hp=300
self.level=1 self.level=1
self.attack=20 self.attack=20
yase=hero()
print('血量',yase.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