E
Ethan Furman
If I'm printing the number 735, or any other positive or negative
integer, is there any difference between %7s and %7d?
~Ethan~
integer, is there any difference between %7s and %7d?
~Ethan~
If I'm printing the number 735, or any other positive or negative
integer, is there any difference between %7s and %7d?
[]>>> [n for n in range(-99999999,99999999,123) if ("%7d" % n) != ("%7s" % n)]
[]>>> [n for n in range(-99999,99999) if ("%7d" % n) != ("%7s" % n)]
Ethan Furman said:If I'm printing the number 735, or any other positive or negative
integer, is there any difference between %7s and %7d?
~Ethan~
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.