Commit d02a127d by BellCodeEditor

auto save

parent 3c369c4d
Showing with 2 additions and 1 deletions
......@@ -2,11 +2,12 @@
# 省略繁杂情节,刘关张三人一起冲入战场,围攻吕布:
name="翠花"
power=66
power=32
b=['袁术',30,'公孙瓒',37,'关羽',45,'张飞',56,'刘备',57,'曹操',60]
for i in range(len(b)):
if i%2==1 and b[i]>=power:
hero.insert(i-1,name)
hero.insert(i,power)
break
print(b)
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