ExamVeda
Login
Home
Functions in Python
?

What will be the output of the following code:
def multiply(a, *args):
  result = a
  for num in args:
    result *= num
  return result
result = multiply(2, 3, 4)
print(result)

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.