Please help. I am so sorry but I cannot find an answer to make the loop stop after three questions. I've searched for two days. I am brand new at this and trying to teach myself.
Everything runs property until I try to limit the questions to 3.
def get_answer(answer_number):
    if answer_number == 1:
        return "I don't like that question.  I'm not answering you."
    elif answer_number == 2:
        return "Really!?  I'm not answering that."
    elif answer_number == 3:
        return "Ummm, you already know the answer so why are you asking me?"
    elif answer_number == 4:
        return "Focus."
    elif answer_number == 5:
        return "Yawn."
r = random.randint(1, 5)
response = get_answer(r)(tries=3)
while True:
    print("What is your question?")
    question = input()
    if response < 4:
        print(response)
        print()
else:
    print("Would you like to continue with more questions?")
    reply = input().lower()
    if reply == "Y":
        print("Your card will be billed another 1₵.")
    if reply == "N":
        print("Okay.  Amscray!")
 
     
    