Commit 18453b4e by BellCodeEditor

save project

parent 6bda79b5
Showing with 8 additions and 5 deletions
class yingxiong:
def __init__(self):
self.gongjili=200
self.HP=3000
def __init__(self,name,HP,MP,A):
self.LEVEL=10000
self.HP=HP
self.MP=MP
self.A=A
yase=yingxiong()
yase=person("yase",3000,100,80)
print(yase.HP)
print(yase.xue)
\ 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