def can_spell_with(target_word, letter_word):
    valid = True
    target_word1 = [x.lower() for x in target_word]
    letter_word1 = [x.lower() for x in letter_word]
    for c in target_word1:
        if c not in letter_word1:
            valid = False
        else:
            valid = True
    return valid
print(can_spell_with('elL','HEllo'))
# True
print(can_spell_with('ell','helo'))
# False
In the code above: I am trying to figure out how to return True if the letter_word contains the target_word.
So 'ell' in 'helo' would return False But 'ell' in 'hello' would return True
 
     
     
     
     
     
    