s = input('Enter string: ') s = list(filter(str.isdecimal, s)) s = list(filter(lambda x: s.count(x) == 1, s)) print(s)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment