Vidyalelo
Python · Q101

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 101

Q101

What will be the output of the following Python code? names1 = ['Amir', 'Bala', 'Charlie'] names2 = [name.lower() for name in names1] print(names2[2][0])

A.
None
B.
a
C.
b
D.
c
Answer

Answer: Option D

Solution

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