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
  • 41,343
  • 15
  • 107
  • 149

0 Answers0