Commit e6e841dc by BellCodeEditor

save project

parent ea691e3c
Showing with 12 additions and 1 deletions
class shot:
def __init__(slef,name,age,level,skill):
self.name=name
self.age=age
self.level=level
self.skill=skill
hz=shot('黄忠',50,20,'鸡你太美')
ssx=shot('孙尚香',20,10,'唱跳Rap')
print(hz.skill)
print(ssx.age)
\ No newline at end of file
class hero:
def__init__(self):
def __init__(self):
self.level=10000000
self.hp=1234567890
self.df=99999999999999999999999999
......
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