generate functionWed, 30 Nov 2022

find if the given string has the letter "e" in it, and output an alert if so

def has_e(st): if 'e' in st: print('yes') else: print('no') has_e('hello') has_e('world')

Want to kickstart your project?Use the new AI Studio to create your code