Commit 52899ce6 by BellCodeEditor

save project

parent daa3746c
Showing with 11 additions and 9 deletions
class JnTm:
def __init__(self):
class hyld:
def __init__(self,mz,xl,gj):
self.dj=1
self.xl=300
self.gj=50
yase=JnTm()
print('等级:'+str(yase.dj))
print('血量:'+str(yase.xl))
print('攻击力:'+str(yase.gj))
\ No newline at end of file
self.mz=mz
self.xl=xl
self.gj=gj
cxk=hyld('蔡徐坤',250,50)
xt=hyld('艾尔.普利莫',600,25)
sq=hyld('瑟奇',280,16)
xl=hyld('雪莉',300,30)
print('普利莫的血量:',600)
print('瑟奇的血量:',280)
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