Examveda

What will be the output of the following Python code?
def unpack(a,b,c,d):
    print(a+d)
x = [1,2,3,4]
unpack(*x)

A. Error

B. [1,4]

C. [5]

D. 5

Answer: Option D


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python