Vidyalelo
Python · Q100

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 100

Q100

What will be the output of the following Python code? lst=[[1,2],[3,4]] print(sum(lst,[]))

A.
[[3],[7]]
B.
[1,2,3,4]
Answer
C.
Error
D.
[10]

Answer: Option B

Solution

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