Używanie, gdy pętla w Python przyjmuje dane wejściowe, dopóki nie dopasuje się do pożądanej odpowiedzi

# take userinput and will keep asking same question
# until gets the desired/set output

i = 'yes'
while True:
    n = str(input('Are we going on a date?: '))
    if n == i:
        print('We are going on a Date')
        break
Spotless Shrew