Question: That happens when you call a function that returns a value in the Python Interactive Shell, but does not assign the return value to a
That happens when you call a function that returns a value in the Python Interactive Shell, but does not assign the return value to a variable?
a A SyntaxError is raised since the return value must be assigned to a variable.
sum
Syntax Error: invalid syntax
b The return value is printed as output.
c The return value is saved in the variable.
temp
d No output is printed, except for a prompt, for the next command.
Icon Key
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
