0
print '%7i %4s %13.4f %9.4f %9.4f'%()

With this format it prints like this:

      1    O        0.0000    0.0000    0.0000

However I want to print just strings aligned to left of 4 space, like this:

      1 O           0.0000    0.0000    0.0000

How can I do it ?

pault
  • 37,170
  • 13
  • 92
  • 132

0 Answers0