title: Print first non repetitive character of string in Python
body: <p>below code is printing out all characters [d, e] with counter one but I need just first character to print out, how can I do that?</p>
  
  <pre><code>def firstNonRepeat(s):
    counter = {}
  
    for char in s:
      if char in counter:
        counter[char] += 1
      else:
        counter[char] =  1
  
    for char in s:
      if counter[char] == 1:
        print char
    return None
  
  firstNonRepeat('aabccbdcbe')
  </code></pre>