I want to create a function to return a list of columns which is from a list of list of strings,the output should talk char of the first row and add it to char of the second row to out a strings from all chars which in row1 and other rows,to understand what I want,please see the code: board = [['A','B','T','T'],['F','D','Y','E']] output should be as this: ['AF','BD','TY','TE'] Thanks for any help!
Asked
Active
Viewed 26 times
0
-
What have you tried so far? Which language? – Santosh Mar 29 '19 at 06:50
-
https://stackoverflow.com/questions/1374126/how-to-extend-an-existing-javascript-array-with-another-array-without-creating – Mar 29 '19 at 06:51
-
It's a program in python for word game search,I want to create a function which return a list from another list of lists of strings – amira habashy Mar 30 '19 at 07:12
-
It's not Java script ,but python – amira habashy Mar 30 '19 at 07:14