0

Lists in Python

Hello, I have a problem. I have a function with output [[x, y] , [x, y],...] ( x and y are integers) And an other funcion with output [[z], [z],...] How can I get them together in: [[x,y,z] , [x,y,z], [x,y,z],..] ? Thank you!

17th Mar 2019, 10:29 AM
vicky
2 Answers
17th Mar 2019, 10:40 AM
Fermi
Fermi - avatar
+ 1
search about 'zip' .. it's a built-in function in python3 btw
17th Mar 2019, 10:38 AM
moataz elamen
moataz elamen - avatar