Commit 61c0abe1 by BellCodeEditor

auto save

parent 1665f2e3
Showing with 6 additions and 12 deletions
class Hero:
def __init__(self,pingA,Hp,Ejo,KJJ):
self.pingA=8
self.Hp=54188
self.Ejo=5418888
self.KJJ=541888888
def c():
KFC.pingA=KFC.pingA+1
def __init__(self):
self.level=1
self.hp==300000000
self.attack=9999999999999999999999999999999999
yase=Hero()
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