在字符串 s 中找出第一个只出现一次的字符。如果没有,返回一个单空格。 s 只包含小写字母。
    示例 1:
    输入:s = “abaccdeff”
    输出:’b’
    示例 2:

    输入:s = “”
    输出:’ ‘

    限制:
    0 <= s 的长度 <= 50000

    1. class Solution:
    2. def firstUniqChar(self, s: str) -> str:
    3. for i in s:
    4. if s.count(i) == 1:
    5. return i
    6. return ' '