Commit 0679aca6 by BellCodeEditor

save project

parent 70850cf8
Showing with 12 additions and 0 deletions
class YingXiong:
def __init__(self,name,dengji,xueliang,fangyu,gongji):
self.ab=name
self.ag=dengji
self.qbes=xueliang
self.qb=fangyu
self.stey=gongji
q=YingXiong('典韦',15,26000,500,10050)
w=YingXiong('后羿',15,20000,50,20034)
print(q.ab)
print(w.ab)
\ 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