circuitpython/tests/bytecode/mp-tests/setcomp1.py

3 lines
50 B
Python
Raw Normal View History

x = {a for a in l}
x = {a + b for a, b in l if b}