4.29python】的更多相关文章

题目: 代码:(?) list = input().split()list1 = []list2 = []for i in range(len(list)): if (i+1)%3 != 0 and (i+1)%2 == 0: list1.append(int(list[i])) elif (i+1)%3 == 0: list2.append(int(list[i]))list1.sort()list2.sort(reverse = True)j,k = 0,0for i in range(le…