

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of the code shown? l=list('HELLO') 'first={0[0]}, third={0[2]}'.format(l) |
A. | ‘first=H, third=L’ |
B. | ‘first=0, third=2’ |
C. | Error |
D. | ‘first=0, third=L’ |
Answer» B. ‘first=0, third=2’ | |