Ask Question
7 January, 22:13

Which of the following statements will ivoke the function get_course and store the reutrn values correctly? A. get_course (course_code, section_num) B. course_code, section_num = get_course () C. section_num, course_code = get_course () D. Both (B) and (C)

+4
Answers (1)
  1. 8 January, 00:44
    0
    Option D is the correct answer for the above question

    Explanation:

    Missing code: The function code is missing in the question, which defined the two return value.

    Detailed Expalanation:

    The above question code is in python language, which returns the two values. So there are needs of two variable which is needed to hold the returned value from a function. Options b and c both states the two variable for the calling function which needs to hold the returned value and the option D states both option, hence it is a correct option while the other is not because: - Option a states no variable which can hold the returned value.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following statements will ivoke the function get_course and store the reutrn values correctly? A. get_course (course_code, ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers