First non repeating character
Problem to find the first non repeating character. If there is no non repeating character means print "None".
Example-1:
Input : s = "hello" Output : h
Example-2:
Input : s = "world" Output : w
Example-3:
Input : s = "oppo" Output : None
Solution
s = "hello" for x in s: if(s.count(x) == 1): print(x) break else: print("None")
Output
h