Q28
What will be the output of the following Python code? 'a, 0, abc'.format(10, a=2.5, abc=[1, 2])
A.
Error
B.
'2.5, 10, [1, 2]'
AnswerC.
2.5, 10, 1, 2
D.
'10, 2.5, [1, 2]'
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board