?
What will be the output of the python code shown below for various styles of format specifiers?
What will be the output of the python code shown below for various styles of format specifiers?
x=1234
res='integers:...%d...%-6d...%06d' %(x, x, x)
res
x=1234
res='integers:...%d...%-6d...%06d' %(x, x, x)
res
Join the Discussion
Login to post a comment or share your explanation.
Login