def add(*args):
'''Function returns the sum of all values passed to it'''
r = 0
for i in args:
r += i
return r
print(add.__doc__)
print(add(7, 8, 9))
print(add(7, 8, 9, 10, 11))
Options:
Explanation
Correct answer is : C
functionname.\_doc__ - provides the docstring of the function All the positional arguments are assigned to the tuple args
Comment here: