Created
September 11, 2022 09:48
-
-
Save codecakes/689c8a49f691763f4682d5bae8dd8d8c to your computer and use it in GitHub Desktop.
Single out the the number present in uneven count in an array
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
import functools as fnctl | |
print(fnctl.reduce(lambda x, y: x^y, (4,1,2,1,2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment