how to retrieve column wise data from list, eg 2nd column from x x = [ [1 , "vimal" , 1111] , [2 , "abhi" , 2222] , [3 , "ray | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to retrieve column wise data from list, eg 2nd column from x x = [ [1 , "vimal" , 1111] , [2 , "abhi" , 2222] , [3 , "ray

In python

13th Aug 2020, 2:17 PM
Ritik Sengar
Ritik Sengar - avatar
2 Answers
+ 1
x[ i ][ 1 ] where i = 0 to 2.
13th Aug 2020, 2:24 PM
Jayakrishna 🇮🇳
+ 1
Put your code in Description, there's not enough room for code in question title, resulted in text truncation ☝
13th Aug 2020, 3:11 PM
Ipang