mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
3 lines
50 B
Python
3 lines
50 B
Python
x = {a for a in l}
|
|
x = {a + b for a, b in l if b}
|