Commit 48c762a9 by BellCodeEditor

save project

parent ab79bd3d
Showing with 10 additions and 6 deletions
import random name='刘强'
poer=66
key = "信息加密好酷呀!" hero=['赵一',30,'丁二',37,'孙武',52,'王猛',89,'周亮',98,]
str = random.choice(key) for i in range(len(hero)):
print(str) if i%2==1 and hero[i]>=poer:
\ No newline at end of file hero.insert(i-1,name)
hero.insert(i-1,poer)
break
print(hero[-6:])
\ 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