I have a string S
and strings s_1, s_2, s_3, s_4
.
I want to do the following:
if s_1 not in S and s_2 not in S and s_3 not in S and s_4 not in s:
code...
Is there a shorthand for this?
Something like
If s_1, s_2, s_3, s_4 not in S:
code...
But this doesn't seem to work?