Adjust elements in list based on second list in Python

后端 未结 0 1374
醉梦人生
醉梦人生 2021-01-13 01:59

I have 2 Python lists: list_a and list_b

I would like to adjust list_b in the following way:

  1. If element i in list b is in list a, don\'t change element i
相关标签:
回答
  • 消灭零回复
提交回复
热议问题