iswbm / magic-python

Python 黑魔法手册
http://magic.iswbm.com/
3.3k stars 478 forks source link

c01/c01_08 #50

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

1.8 连接多个列表最极客的方式 — Python黑魔法手册 1.0.0 documentation

https://magic.iswbm.com/c01/c01_08.html

wuzhaoqi1015 commented 2 years ago

But this approach is slower than a+b+c

QGB commented 2 years ago

build_app

zhuluchangfeng commented 1 year ago

[i for ls in [a,b,c] for i in ls] 更喜欢这个