Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Stressful Subject by David_Jones
def is_stressful(subj):
if subj.isupper() or subj.endswith('!!!'):
return True
for word in subj.lower().split():
bare_word = prev = ''
for ch in word:
if ch.isalpha() and ch != prev:
bare_word += ch
prev = ch
if bare_word in ('help', 'asap', 'urgent'):
return True
return False
May 20, 2019