Accessing given element from each sublist of multidimensional list without for loop

后端 未结 0 994
南方客
南方客 2020-12-10 04:06

Say I have a list of lists for example: list0 = [[a, .5, .3], [b, .3, .8], [c, .7, 1.3], [d, 1.03, .2]]

I want to call the second element of each sublist

相关标签:
回答
  • 消灭零回复
提交回复
热议问题