Commit e64bd271 by BellCodeEditor

save project

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