I am very new to Python (started 3 days ago) and I am trying to make a loop where whenever the user inputs an invalid input, the code will respond and tell them to reenter their response but I cannot seem to get it.
while sub1!= "A,B,C,D,F":
print("Invalid Entry,try again:")
A,B,C,D,F. Then change while loop towhile sub1 not in ("A", "B", "C", "D", "F"):