# -*- coding: utf-8 -*-class wanwan(object): def wanwan(self): str1="abosdufouwgeifubw" for i in str1: if str1.count(i)==1: print(i) breakif __name__ == ‘__main__‘: a=wanwan() a.wanwan()
python面试题,输出第1个不重复的字符
原文:https://www.cnblogs.com/qinhaili/p/9184291.html