Commit 824ac49a by BellCodeEditor

save project

parent b240c28b
Showing with 4 additions and 4 deletions
naem='刘强' naem='刘强'
power=66 power=66
heou=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98] heou=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
fon i in range(len(heou)) for i in range(len(heou)):
if i%2==1 and hero[i]>=power: if i%2==1 and heou[i]>=power:
heou.insert(i-1,naem) heou.insert(i-1,naem)
heou.insert(i,power) heou.insert(i,power)
print(heou) print(heou)
\ No newline at end of file \ 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