Dumb Stupid Question About List and String

Chris Rebert clp2 at rebertia.com
Tue Aug 31 21:26:02 CEST 2010


On Tue, Aug 31, 2010 at 12:20 PM, Alban Nona <python.koda at gmail.com> wrote:
> Ok, here a solution:
<snip>
> for n in myFirstList:
>      var = str(n)

n is already a string, so the previous line doesn't do anything useful.

Cheers,
Chris



More information about the Python-list mailing list