Created
October 14, 2019 09:11
-
-
Save alexmacniven/f9dc925c681f94022d10e33d260a8fea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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