Report Bug

Qus

What is the output of the following code snippet?

print([i.lower() for i in "HELLO"])
Qus

निम्नलिखित कोड स्निपेट कोड का आउटपुट क्या होगा?

print([i.lower() for i in "HELLO"])


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


Solution
B. ['h', 'e', 'l', 'l', 'o']



Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad