Python, functions, what is going on here? if lst1[index] != lst2[len(lst2) - 1 - index]

后端 未结 0 655
别那么骄傲
别那么骄傲 2020-12-10 12:22

can anybody help me understand line 3 please?

  1. def reversed_list(lst1, lst2):
  2. for index in range(len(lst1)):
  3. if lst1[index] != lst2[len(lst2) -
相关标签:
回答
  • 消灭零回复
提交回复
热议问题