Q. What will be the output?
Code:
print('1' + '2' * 3)
β
Correct Answer: (B)
1222
Explanation: '2' * 3 becomes '222'; concatenated with '1' gives '1222'.