Commit 2a48f60d by BellCodeEditor

auto save

parent d6c81a0f
Showing with 20 additions and 0 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):
self.level=10000000
self.hp=1234567890
self.df=99999999999999999999999999
self.attack=123456789012345678901246890
ikun=Hero()
print(ikun.hp)
\ 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