There are are several methods to do it:
Many more methods are there like loop with switch-case, etc., happy coding :)
use Do While loop, this loop will execute atleast once, Here it will repeat until your answer doesn't matches A or a.
do {
/*code for response for input*/
response = input('Your answer: ');
}
while(response!='a' or response!= 'A');