transform list of int in a list of string??

Skip Montanaro skip at pobox.com
Fri Sep 13 21:35:18 CEST 2002


    Skip> y = [int(n) for n in x]

    Steve> Skip of course meant

    Steve>     y = [str(n) for n in x]

    Steve> in his second example.

Yes he did.  Thanks for catching the bug.

S




More information about the Python-list mailing list