python - Removing the common elements between two lists - Stack Overflow

PHOTO EMBED

Mon Jul 26 2021 20:48:13 GMT+0000 (Coordinated Universal Time)

Saved by @ringeringering #python

res = list(set(a)^set(b))
content_copyCOPY

https://stackoverflow.com/questions/13672543/removing-the-common-elements-between-two-lists