Commit ee04dce6 by BellCodeEditor

save project

parent 4f7f7782
Showing with 7 additions and 4 deletions
a=["s",1,"e",3,"d",10,"r",15."u",88,"p",1257,"o",198643807] a=["s",1,"e",3,"d",10,"r",15,"u",88,"p",1257,"o",198643807]
name=(input("名字")) name=(input("名字"))
power=int(input("力量")) power=int(input("力量"))
for i in range(len(a)) for i in range(len(a)):
if i%2==1 and a[i]>=power: if i%2==1 and a[i]>=power:
a.insert(i-1,name)
\ No newline at end of file a.insert(i,power)
break
print(a[-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