Print the first unique character in a string



Problem to find the first unique character in a given string.



Example-1:


Input    : s = "aaabcdd"
Output   : b   


Example-2:


Input    : s = "happy"
Output   : h  







Solution





s = "aaabcdd"

for x in s:

    if(s.count(x) == 1):

        print(x)

        break



Output



b