mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 09:30:24 +08:00
3 lines
53 B
Python
3 lines
53 B
Python
x = {a:None for a in l}
|
|
x = {b:c for c, b in l if c}
|