When running the program below, response = input(“Do you ha…
When running the program below, response = input(“Do you have a pet?”) def test_pet(response): return response.lower() == “yes” def print_message(response): print(“Do they have a pet?”, response) The user will type in: Yes And expect the output: Do they have a pet? True However, this will not happen because the program is not complete. Which of the following lines of code will properly finish the program to ensure the correct data flow through the functions defined above, in order to print the expected message?
Read Details