Given the definition of the function one_year_older:def one_year_older(name, age): print('Name:', name) age = age + 1 print('Your age next year:', age) print()Which of the following statements will invoke the function one_year_older successfully?A. one_year_older(27, 'John')B. one_year_older()C. one_year_older('John', 27)D. one_year_older('John')one_year_older(27)

Solved
Show answers

Ask an AI advisor a question