Lonely Integer

  • + 0 comments

    Py solution :

    def lonelyinteger(a):
        # Write your code here
        for i in set(a):
            if a.count(i) == 1:
                return i