What is the following statement performing? num1, num2 = get_num()

What is the following statement performing?


num1, num2 = get_num()


A. The function get_num() is expected to return two values - one for each of num1 and num2
B. The function get_num() is expected to return a single value, but to assign it to both num1 and num2
C. Statement will cause a syntax error
D. Statement will cause a run-time error
E. None of the above

Answer:  A


Python

Learn More Multiple Choice Question :