How to remove a list of elements from a list?

后端 未结 0 974
清酒与你
清酒与你 2020-11-27 16:43

suppose there is a list A[1,2,3,4,5,6,7,8,9,10], and B[2,4,6] I want to modify A so A becomes A[1,3,5,7,8,9,10]. Dont use remove, as the A can have 10k numbers

相关标签:
回答
  • 消灭零回复
提交回复
热议问题