print - bug or feature - concatenated format strings in a print statement

alex goretoy aleksandr.goretoy at gmail.com
Mon Mar 16 10:06:10 CET 2009


>
>   print(10 + 20 % 7)
> a bug or a feature?

It is a feature
print ((10+20) % 7)

-Alex Goretoy
http://www.goretoy.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090316/25766396/attachment.html>


More information about the Python-list mailing list