Vidyalelo
Python · Q73

Python Introduction and basic

Programming · Python · question 73

Q73

What will be the output of the following Python program? def addItem(listParam): listParam += [1] mylist = [1, 2, 3, 4] addItem(mylist) print(len(mylist))

A.
5
Answer
B.
8
C.
2
D.
1

Answer: Option A

Solution

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