Skip to content

Instantly share code, notes, and snippets.

@alexmacniven
Created October 14, 2019 09:11
Show Gist options
  • Save alexmacniven/f9dc925c681f94022d10e33d260a8fea to your computer and use it in GitHub Desktop.
Save alexmacniven/f9dc925c681f94022d10e33d260a8fea to your computer and use it in GitHub Desktop.
class ListComp:
@staticmethod
def diff_a_b(a, b):
"""Returns difference of a and b."""
return list(set(a) - set(b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment