I know I can do things like
s=Set(range(1,1 1))
s=Set(filter(la mbda x:x%2==0,s))
But this seems a bit slow since filter returns a list which then must
be converted back to a set. Any tips? Thanks!
s=Set(range(1,1 1))
s=Set(filter(la mbda x:x%2==0,s))
But this seems a bit slow since filter returns a list which then must
be converted back to a set. Any tips? Thanks!
Comment