python checking a string's first and last character,"print('hi' if str1.startswith('""') and str1.endswith('""') else 'fails')"