Question: Given the following Python functions: #function 1 : def reassign ( L ) : L = L + [ 1 0 0 ] #function 2
Given the following Python functions:
#function:
def reassignL:
L L
#function
def appendL:
Lappend
which of the following correct?
Question options:
L is a callbyvalue parameter in function and a callbyreference parameter in function
L is a callbyreference parameter in function and a callbyvalue parameter in function
L is a callbyvalue parameter in both function and function
L is a callbyreference parameter in both function and function
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
