def findTheDifference(s, t):
while t[0] in s:
s = s.replace(t[0],'')
print(s)
t = t[1:]
return t[0]
def findTheDifference(s, t):
while t[0] in s:
s = s.replace(t[0],'')
print(s)
t = t[1:]
return t[0]
set_a = {'a', 'b', 'c'}
set_b = {'b'}
set_c = set_a.difference(set_b)
print(set_c) # => {'c', 'a'} Retrieves difference = set_a - set_b