Q34
What will be the output of the following Python code? l=list('HELLO') 'first=0[0], third=0[2]'.format(l)
A.
'first=H, third=L'
AnswerB.
'first=0, third=2'
C.
Error
D.
'first=0, third=L'
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board