Commit b9a333c5 by BellCodeEditor

save project

parent 9abd14ef
Showing with 13 additions and 8 deletions
class Hero: class Hero:
def __int__(self): def __init__(self,pingA,Hp,Ejo,KJJ):
self.1v=8 self.pingA=8
self.Hp=54188 self.Hp=54188
self.Ouk=5418888 self.Ejo=5418888
self.Ejo=541888888 self.KJJ=541888888
KFC=Hero() def c():
print(KFC.Hp) KFC.pingA=KFC.pingA+1
\ No newline at end of file
KFC=Hero('KFC',54188,541888888)
KFj=Hero('KFj',54188,541888888)
print('KFC的血量为',KFC,HP)
print('KFJ的血量为',KFJ,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