I need help if someone types a wrong input it should return the question again in python3.
I tried to return the variable.
def main():
this = input ('Is this your ..? (Yes/No)')
if this != 'Yes' and this != 'No':
print ('please provide a valid answer')
I want to ask the question again and again until the answer will be Yes or No.