Vidyalelo
Python · Q111

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 111

Q111

What will be the output of the following Python code snippet? print([i.lower() for i in "HELLO"])

A.
['h', 'e', 'l', 'l', 'o']
Answer
B.
hello'
C.
['hello']
D.
hello

Answer: Option A

Solution

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