in(el, S) or el in S.
On Thursday, November 12, 2015 at 2:36:28 PM UTC-8, Freddy Chua wrote: > > haskey does not work for Set ? It only works for Dict. Should it be that > way? How do I test whether an element is in a Set? >
in(el, S) or el in S.
On Thursday, November 12, 2015 at 2:36:28 PM UTC-8, Freddy Chua wrote: > > haskey does not work for Set ? It only works for Dict. Should it be that > way? How do I test whether an element is in a Set? >