[Tutor] why no chaining?

Jim Mooney cybervigilante at gmail.com
Sun Apr 12 08:06:31 CEST 2015


I thought I'd get [2,3,4,5] from this but instead I get nothing. Why isn't
it chaining?

>>> q = list(set([1,2,3,1,4,1,5,1,5])).remove(1)
>>> q
>>>

-- 
Jim

Today is the day that would have been yesterday if tomorrow was today


More information about the Tutor mailing list