Nguyễn Hồng Yến
New member
What will be the output of the following Python code snippet?
A. [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
B. ‘hello’
C. [‘hello’]
D. hello
Code:
print([i.lower() for i in "HELLO"])
B. ‘hello’
C. [‘hello’]
D. hello