Commit 9887d38f by BellCodeEditor

save project

parent 5949cf41
Showing with 8 additions and 9 deletions
...@@ -15,16 +15,15 @@ def shengji1(): ...@@ -15,16 +15,15 @@ def shengji1():
Lan.hp = Lan.hp+700 Lan.hp = Lan.hp+700
Lan.attack = Lan.attack+1 Lan.attack = Lan.attack+1
# def shengji2(): def shengji2():
# Lan.level = Lan.level+1 LiBai.level = LiBai.level+1
# Lan.hp = Lan.hp+700 LiBai.hp = LiBai.hp+700
# Lan.attack = Lan.attack+1 LiBai.attack = LiBai.attack+1
Yao = Hero("耀",2700,200) Yao = Hero("耀",2700,200)
Lan = Hero("澜",2800,200) Lan = Hero("澜",2800,200)
LiBai = Hero("李白",3000,270) LiBai = Hero("李白",3000,270)
print('耀的血量是',Yao.hp)
print('澜的血量是',Lan.hp)
print('李白的血量是',LiBai.hp)
shengji()
\ No newline at end of file shengji()
print('耀的血量是',Yao.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