Q:

What is the output? print([i.lower() for i in \"HELLO\"])

-3

What is the output?

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

  1. [‘h’, ‘e’, ‘l’, ‘l’, ‘o’].
  2. hello
  3. hel
  4. HELLO

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

[‘h’, ‘e’, ‘l’, ‘l’, ‘o’].

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now