Rolandb wrote:
> Hi,
> print [1,2,3,4].remove(4)
> None
> I would expect [1,2,3]


(following up)

The pythonic way to do this would be:

a = [1,2,3,4]
a.remove(4)
print a


Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to