if 'string1' in line: ...
... works as expected but what if I need to check multiple strings like so:
if 'string1' or 'string2' or 'string3' in line: ...
... doesn't seem to work.
if any(s in line for s in ('string1', 'string2', ...)):
1.4m articles
1.4m replys
5 comments
56.9k users