[Tutor] Question

Amandeep Behl amandeep.qa at gmail.com
Mon Jul 22 04:26:18 CEST 2013


def Move(label):
  label = "Anything"

a_list = [1,2,3]
Move(a_list)

I don't see any error when executing above but  when i manually assign
[1,2,3] = "Anything" i get error
 Why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130721/6404b3a6/attachment.html>


More information about the Tutor mailing list