What Will Be The Output Of The Following Python Expression If X #101
What will be the output of the following Python expression if X = -122?</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 = -122?
print("-%06d"%X)
−000122
000122
−−00122
−00122