What Will Be The Output Of The Following Python Expression If #98
What will be the output of the following Python expression if x=456?</p> <pre><code class="language-python">print("%-06d"%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=456?
print("%-06d"%x)
000456
456000
456
error