Created
September 4, 2017 03:36
-
-
Save ddffx/8fc686556689c1bfec3f44a848bd505f to your computer and use it in GitHub Desktop.
gc-foobar-l1-pld created by ddffx - https://repl.it/KeDO/0
This file contains hidden or 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
def answer(x, y): | |
return (set(x).symmetric_difference(y)).pop() | |
a = [1,2,3,4]; | |
b= [1,2,3,6,4]; | |
print(answer(b,a)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment