11.
What does the *args syntax in a function definition mean?

12.
What is the purpose of using recursion in a function?

14.
What is the purpose of a function in Python?

17.
What is the purpose of using the ** symbol in function argument unpacking?

18.
What will be the output of the following Python code?
def sum(*args):
   '''Function returns the sum 
   of all values'''
   r = 0
   for i in args:
      r += i
   return r
print sum.__doc__
print sum(1, 2, 3)
print sum(1, 2, 3, 4, 5)

Read More Section(Functions in Python)

Each Section contains maximum 100 MCQs question on Functions in Python. To get more questions visit other sections.