Commit aa18409c by BellCodeEditor

auto save

parent d6c81a0f
Showing with 13 additions and 0 deletions
class Hero:
def __init__(self,mz,hp,gj):
self.name=name
self.hp=hp
self.gj=gj
def one():
yase.hp=yase.hp+10101
yase=Hero('亚瑟'999999999999)
print('亚瑟的初始血量:'yase.hp)
one()
one()
print('升级两次,亚瑟血量为:',yase.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