?
What will be the output of the following Python code?
What will be the output of the following Python code?
def foo(k):
k = [1]
q = [0]
foo(q)
print(q)
def foo(k):
k = [1]
q = [0]
foo(q)
print(q)
Join the Discussion
Login to post a comment or share your explanation.
Login