Vidyalelo
Python · Q79

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 79

Q79

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board