?
What will be the output of the following code:
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)
result = a
for num in args:
result *= num
return result
result = multiply(2, 3, 4)
print(result)
Join the Discussion
Login to post a comment or share your explanation.
Login