What is the output of the following code?
def foo(param1, *param2):
print param1
print param2
def bar(param1, **param2):
print param1
print param2
foo(1,2,3,4,5)
bar(1,a=2,b=3)
Correct Answer: 1 (2, 3, 4, 5) 1 {'a': 2, 'b': 3}
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions