What Will Be The Output Of The Following Python Expression If #104
What will be the output of the following Python expression if x=22.19?</p> <pre><code class="language-python">print("%5.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=22.19?
print("%5.2f"%x)
22.1900
22.00000
22.19
22.20