Suppose the Python function Modify is
defined by
def Modify (Y):
Y = 7
print(Y)
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 = 5
Modify(X)
print(X)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here