Commit aff64f14 by BellCodeEditor

save project

parent d0c0a605
Showing with 8 additions and 5 deletions
class dldl: class dldl:
def __init__(self): def __init__(self,hp,攻击,LV):
self.hp=300 self.hp=hp
self.攻击=15 self.攻击=攻击
self.LV=15 self.LV=LV
y=dldl() y=dldl(300,15,1)
h=dldl(240,20,1)
print(y.攻击) print(y.攻击)
print(h.)
\ 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