Commit 5c5e2bd3 by BellCodeEditor

save project

parent 715567c9
Showing with 9 additions and 14 deletions
# 古代测量臂力是靠不同重量的石锁,只能测整数哦。 num =9
# 最小的石锁是30公斤最大的石锁是100公斤,注意输入的数字哦 float_num = 3.1415926
# 问询处 name = "悟空"
name=input('你叫啥名啊?') goods = ["雪碧"]
power=int(input('你臂力多少啊?'))
# 归档处 print(type(num))
hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100] print(type(float_num))
for i in range(len(hero)): print(type(name))
if i%2==1 and hero[i]>=power: \ No newline at end of file
hero.insert(i-1,name)
hero.insert(i,power)
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