x = [["a","b"], ["c"]]

result = []
[ result.extend(el) for el in x] 

for el in result:
  print el

参考
https://stackoverflow.com/questions/716477/join-list-of-lists-in-python

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐