Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution solution in Clear category for Stressful Subject by bsquare
def is_stressful(subj: str):
s = subj.casefold() + ' '
return subj.isupper() \
or subj.strip().endswith('!' * 3) \
or any(rw in ''.join(l for l, n in zip(s, s[1:]) if l != n and l.isalpha())
for rw in ('help', 'asap', 'urgent'))
Sept. 18, 2019
Comments: