I need help with my if/else statement for a Marvel character questionnaire.
I want to make sure the user can't enter any letters besides A,B,C or D.
if str(input())) not ('A','B','C','D')
else ("ask them again");
How do I add while
to make the code ask for input again if no valid answer was given?