3 ms·
yup, agreed, and if word.endswith('ing') looks much better than if word[-3] == 'i' and word[-2] == 'n' and word[-1] == 'g' clearly the authors of that a
by pgbovine 16y ago
yup, agreed, and
if word.endswith('ing')
looks much better than
if word[-3] == 'i' and word[-2] == 'n' and word[-1] == 'g'
clearly the authors of that article weren't proficient in the C standard library :)