Lonely Integer

  • + 0 comments

    One liner:

    return [i for i in a if a.count(i) == 1][0]