dictionary/hash and '1' versus 1

Sion Arrowsmith siona at chiark.greenend.org.uk
Mon Jan 7 10:50:59 EST 2008


 <bearophileHUGS at lycos.com> wrote:
>In Java you can add the number 1 to a string, and have it
>automatically converted to string before the string join... What do
>you think of that feature?

"-%s" % 1

-- 
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
        -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump



More information about the Python-list mailing list