this loop does not work as it does on another while loop I made that is almost identical to this one. I want it to loop until I input a valid answer. it asks me the first time and if I get it wrong it asks me one more time, but then it doesn't repeat after that. variable "a" never changes unless a valid input is put in. what did I do wrong? EDIT: first time using this site and I guess I wasn't specific enough, here is the full code with some fixed changes
selectcharacter = input("Select Your Character:")
while a == 1:
if selectcharacter != 1 and selectcharacter != 2 and selectcharacter != 3:
selectcharacter = input("Select Your Character:")
continue
elif: selectcharacter == 1
a == 2
break
elif: selectcharacter == 2
a == 2
break
elif: selectcharacter == 3
a == 2
break