元组具有与列表相同的索引,因此您可以[0]在列表中获取以下元组的索引。然而,一个问题是元组不能被修改,因此你必须为每个赋值生成一个新的元组。例如:tuple_list = [(a, b), (c, d), (e, f), (g, h)]for x in range(0, len(tuple_list) - 1): # Go until second to last tuple, because we don't need to modify last tuple tuple_list[x] = (tuple_list[x][0],tuple_list[x+1][0]) # Set tuple at current location to the first element of the current tuple and the first element of the next tuple会产生想要的结果