Question
What will be the output?names1 = ['Amir', 'Bala', 'Charlie']names2 = [name.lower() for name in names1] print(names2[2][0])
Answer: Option D
Was this answer helpful ?
List Comprehension are a shorthand for creating new lists.
Was this answer helpful ?
Submit Solution