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

What will be the output of the following Python code snippet?
Code:
print([i.lower() for i in "HELLO"])
A. [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
B. ‘hello’
C. [‘hello’]
D. hello
 

Tìm kiếm

Back
Top