Commit e64bd271 by BellCodeEditor

save project

parent ce719fc1
Showing with 3 additions and 9 deletions
class student(): class student():
def __init__(self,a,b,c): def __init__(self,a,b,c):
self.name=a self.level=a
self.hieght=b self.hp=b
self.weight=c self.attack=c
asd=student("经济","看看",250)
qwe=student("零零","哈哈",49)
zxc=student("刚刚","方法",1000000000000)
print("经济的名字"asd.name)
print("零零的身高",qwe,hieght)
print("刚刚的体重",zxc,weight)
def upgrade() def upgrade()
yase.level+=1 yase.level+=1
yase.hp+=40 yase.hp+=40
......
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