

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of the code shown below? l=list('HELLO') p=l[0], l[-1], l[1:3] 'a={0}, b={1}, c={2}'.format(*p) |
A. | Error |
B. | “a=’H’, b=’O’, c=(E, L)” |
C. | “a=H, b=O, c=[‘E’, ‘L’]” |
D. | Junk value |
Answer» D. Junk value | |