What will be the output of the following two codes?
i. '{0}'.format(4.56)
ii. '{0}'.format([4.56,])
i. '{0}'.format(4.56)
ii. '{0}'.format([4.56,])A. '4.56', '4.56,'
B. '4.56', '[4.56]'
C. 4.56, [4.56,]
D. None of the above
Answer: Option B

Join The Discussion