mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 17:40:24 +08: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}
|