Pass each element of a list to a function that takes multiple arguments in Python?

后端 未结 2 1042
情歌与酒
情歌与酒 2020-12-10 15:41

For example, if I have

a=[[\'a\',\'b\',\'c\'],[1,2,3],[\'d\',\'e\',\'f\'],[4,5,6]]

How can I get each element of a to be an argume

2条回答
提交回复
热议问题