length = len(list1)

  for i in range(0, length):
    for j in range(i+1, length):

      if list1[i] == list1[j]:

        #操作

 

      

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-12
  • 2021-10-27
  • 2021-10-30
  • 2022-02-07
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案