Commit 36a3d9e3 by BellCodeEditor

auto save

parent 25e2879a
Showing with 5 additions and 2 deletions
import turtle
pen=
\ No newline at end of file
......@@ -4,7 +4,7 @@
n=input('姓名')
# 问询处
m=input('臂力值')
m = int(m)
# 归档处
hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100]
for i in range(len(hero)):
......@@ -12,6 +12,6 @@ for i in range(len(hero)):
hero.insert(i-1,n)
hero.insert(i,m)
break
print(hero[7:14])
print(hero[8:16])
# 打印出臂力最强的三个人和他们对应的臂力值:
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