Q. What is the output?

Code:
print([i.lower() for i in "HELLO"])
  • (A) [‘h’, ‘e’, ‘l’, ‘l’, ‘o’].
  • (B) hello
  • (C) hel
  • (D) HELLO
πŸ’¬ Discuss
βœ… Correct Answer: (B) hello

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
240
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Parvesh Kanani
Publisher
πŸ“ˆ
81%
Success Rate