Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
6-liner: no import solution in Clear category for Stressful Subject by przemyslaw.daniel
def is_stressful(subj):
for word in ('help', 'asap', 'urgent'):
s = ''.join(x for x in subj.lower() if x in word+' ')
for i in s*len(s): s = s.replace(i+i, i)
if s.count(word): return True
return subj == subj.upper() or subj.endswith('!!!')
Oct. 20, 2017
Comments: