简单题
class Solution(object): def findTheDifference(self, s, t): """ :type s: str :type t: str :rtype: str """ for i in range(len(t)): if t.count(t[i])!=s.count(t[i]) or t[i] not in s: return t[i]
leetcode——389. 找不同
原文:https://www.cnblogs.com/taoyuxin/p/11737166.html