Merge the first element of two different arrays into one array in Python

后端 未结 0 956
你的背包
你的背包 2020-11-27 04:29

Say I have:

data_x = [0,1,2,3]

data_y = [4,5,6,7]

and I need the final result to be:

s_o_rms = [(0,4),(1,5),(2,6),(3,7)]

Till now I tried:

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