I've defined my code to ensure all letters inside a loop are indeed letters with
if letter.isalpha() != True:
    return 'Failed'
This works. However, for what I'm doing we are strictly instructed to not compare Boolean values to True/False using ==, and with the way I'm doing it it's basically the same thing. Is there another way of doing this?
 
     
     
    