Commit 0d823428 by BellCodeEditor

save project

parent 5b24aa0e
Showing with 7 additions and 1 deletions
...@@ -5,9 +5,15 @@ ...@@ -5,9 +5,15 @@
# 问询处 # 问询处
a=input("名字") a=input("名字")
b=input("臂力") b=input("臂力")
d=int(b)
# 归档处 # 归档处
hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100] hero=['周欲超',-999999999999999999999999999999999999999999999999999999,'赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100]
for i in range(len(hero)): for i in range(len(hero)):
if i or:
hero.insert(i-1,a)
hero.insert(i,d)
break
print(hero)
......
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