py 这段代码哪里出错了,求大佬指教
查看原帖
py 这段代码哪里出错了,求大佬指教
306116
jy2356286251楼主2020/6/18 09:31

n = int(input()) m = [int(x) for x in input().split()] s = 1 while m[m.index(min(m))+1] - min(m) == 1: s += 1 print(s)

2020/6/18 09:31
加载中...