fork download
  1. wierd_format = '[%20he]'
  2. print wierd_format % 2.5
  3.  
  4. bad_format = '[%20qe]'
  5. print bad_format % 2.5
Runtime error #stdin #stdout #stderr 0.08s 8888KB
stdin
Standard input is empty
stdout
[        2.500000e+00]
stderr
Traceback (most recent call last):
  File "prog.py", line 5, in <module>
    print bad_format % 2.5
ValueError: unsupported format character 'q' (0x71) at index 4