The Output Of The Two Codes Shown Below Is The Samep Pre #120
The output of the two codes shown below is the same.</p> <pre><code class="language-python">i. '{0:.2f}'.format(1/3.0) ii. '%.2f'%(1/3.0)</code></pre>
This multiple choice question (MCQ) is related to the book/course
gs gs109 Python.
It can also be found in
gs gs109 Formatting & Decorators in Python - Python Formatting - Quiz No.3.