What Will Be The Output Of The Following Python Code Snippetp #283
What will be the output of the following Python code snippet?</p> <pre><code class="language-python">print('The sum of {0} and {1} is {2}'.format(2, 10, 12))</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Strings - Python Strings - Quiz No.8.
What will be the output of the following Python code snippet?
print('The sum of {0} and {1} is {2}'.format(2, 10, 12))
The sum of 2 and 10 is 12
Error
The sum of 0 and 1 is 2
None of the mentioned