micropython/tests/basics/set_iter_of_iter.py

3 lines
43 B
Python

i = iter(iter({1, 2, 3}))
print(sorted(i))