The Python Oracle

print("string1" or "string2" in string) does not give Boolean result

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: Lost Jungle Looping

--

Chapters
00:00 Question
00:31 Accepted answer (Score 6)
00:59 Answer 2 (Score 4)
01:57 Answer 3 (Score 4)
02:17 Answer 4 (Score 2)
04:34 Thank you

--

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

Answer 1 links:
https://docs.python.org/3/reference/expr...

--

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

--

Tags
#python #python3x

#avk47