공부

[Python] Subtract array

승가비 2020. 2. 9. 00:37
728x90
[item for item in x if item not in y]

[reference] https://stackoverflow.com/questions/3428536/python-list-subtraction-operation

728x90
저작자표시 비영리 (새창열림)