Find the output of the following program:
a = ['Geeks', 'for', 'Geeks'] b = [i[0].upper() for i in a] print(b)
[‘G’, ‘F’, ‘G’]
[‘GEEKS’, ‘FOR’, ‘GEEKS’]
[‘GEEKS’]
Compilation error
This question is part of this quiz :