python - 按元素加入列表列表
问题描述
我想按元素加入列表列表,这样
lst = [['a','b','c'], [1,2,3], ['x','y','z'], [4,5,6]]
变成
res = [['a',1,'x',4], ['b',2,'y',5], ['c',3,'z',6]]
我尝试过使用列表理解、连接和映射,但还没有任何运气。(蟒蛇新手)
解决方案
推荐阅读
- javascript - Highcharts:打开新组件角度时如何停止函数setTimeout?
- mongodb - MongoError:服务器不支持排序规则
- javascript - 将 HTML 集合输出为列表 JavaScript
- visual-studio - Visual Studio 2017 Winforms Designer 缓存在哪里?
- laravel - Laravel 返回错误后如何显示 Bootstrap 通知/toast (MDBootstrap)
- hibernate - 如何修复“:意外元素(”URI:“http://www.hibernate.org/xsd/orm/cfg”,本地“休眠配置”)
- ios - 在具有最大高度的动态高度的 UITableViewCell 中添加 UITextView
- angular - IONIC 4空项目android apk文件大小大
- python - 一起循环多个生成器
- c++ - 为什么我在这里得到垃圾(不需要的)输出?