What Will Be The Output Of The Following Python Expression If #103
What will be the output of the following Python expression if x=56.236?</p> <pre><code class="language-python">print("%.2f"%x)</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.1.
What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)
56.00
56.24
56.23
0056.236