Answer to Question #264581 in Python for swsq

Question #264581
  1. Find the non-repeating numbers in a string
1
Expert's answer
2021-11-14T17:02:57-0500
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?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS