Percent sign in format string?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Thu Jul 18 20:52:15 EDT 2002


Ron Levine <ron at dorianresearch.com> writes:
> How can I put a "%" sign in a format string?
> 
> For example, x=98 and  I want to output
>  "x = 98%"

"x = 98%%" is the usual way.



More information about the Python-list mailing list