[Tutor] What are these two string-formatting styles called?

Dotan Cohen dotancohen at gmail.com
Fri Jun 14 17:23:56 CEST 2013


What are these two string-formatting styles called?
'%.3f' % x
'{0:.3f}'.format(x)

Where in the fine manual is their names shown? Thanks!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


More information about the Tutor mailing list