Hi,

I would like to give out a formatted string that includes a percent sign,  
that
is not used as formatting sign.Example:

print "Your chance to win is %4.2f %" %p

This doesn't work, because the last %-sign is interpreted as formatting  
sign and
thus leads to an error message. I tried \x25 instead, but that doesn't  
work as well
(same error message).

Can someone help me?

Leon
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to