Examveda

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

A. ['h', 'e', 'l', 'l', 'o']

B. hello'

C. ['hello']

D. hello

Answer: Option A


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python