The Python Oracle

In Python (2.7.3) how do I write a function that answers if any characters in str(x) are in str(y) (or str(y) are in str(x))?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping

--

Chapters
00:00 Question
00:56 Accepted answer (Score 2)
01:09 Answer 2 (Score 4)
01:26 Thank you

--

Full question
https://stackoverflow.com/questions/2039...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #string #python27 #userdefinedfunctions

#avk47