Suppose the Python function Modify is defined by
def Modify (Y): Y = 9 print(X) print(Y)
Also suppose that X is a global variable. If parameters are passed by value, what will be printed when the following program segment is executed? What if parameters are passed by reference?
X = 5Modify(X)print(X)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.