Lonely Integer

  • + 0 comments

    counters: def lonelyinteger(a): times = Counter(a)

    q =[k for k in times if times[k]==1]
    return q[0]