Commit bb0fa593 by BellCodeEditor

save project

parent e04e2cfc
Showing with 8 additions and 8 deletions
class yingxiong: class yingxiong:
def __init__(self): def __init__(self,name,HP,MP,A):
self.gongjili=20 self.leve1=1
self.HP=3000 self.HP=HP
self.MP=MP
yase=yingxiong() self.A=A
LuBan=yingxiong("yingxiong",3000,200,100)
print(yase.HP) print(LuBan.HP)
\ No newline at end of file \ 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