Can you please expand on why this fails? It is weird, but the issue is that since range returns a generator, the `1 in s` unrolls it, and then subsequent tests for membership are against effectively the empty list:

```python
>>> s = map(int, range(2))
>>> 1 in s
True
>>> 1 in s
False
```