3 ms·
I don't know. I'd argue that if c not in s: ... is more explicit (and readable) than if s.find(c) == -1: ...
by donatzsky 15y ago
I don't know. I'd argue that
if c not in s: ...
is more explicit (and readable) than
if s.find(c) == -1: ...