Page 1 of 1

What will be the output of the following Python expression if X = -122?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
print("-%06d"%x)
a) -000122
b) 000122
c) –00122
d) -00122