[Tutor] implementing set operations [was Re: (no subject)]

wesley chun wescpy at gmail.com
Thu Jul 30 00:04:15 CEST 2009


> - you probably don't want to call set1.remove(). lists are immutable,
> and you would've change the contents of set1.

sorry, make that "mutable." sets, dicts, and lists are standard Python
types that are mutable.

-wesley


More information about the Tutor mailing list