[Tutor] 2 problems in a small script

jim stockford jim at well.com
Fri Oct 12 21:00:08 CEST 2007

On Oct 12, 2007, at 11:48 AM, Kent Johnson wrote:

> If all you want to do is copy the list, then
>    lstB = lstA[:]
> is fine, or you can use
>    lstB = list(lstA)

why choose one over the other? is there a performance
or other difference?

More information about the Tutor mailing list