1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
def rj(question, question_count=0, max_questions=10):
    print(question)
    print('good')
    question_count += 1
    if question_count > max_questions:
        print('goodbye')
    else:
        dad('how was your day, dad?', question_count, max_questions)

def dad(question, question_count=0, max_questions=10):
    print(question)
    print('good')
    question_count += 1
    if question_count > max_questions:
        print('goodbye')
    else:
        rj('how was your day, son?', question_count, max_questions)

rj('hello', 0, 100)