Posts by Julian Vitor • 95 points
2 posts
-
7
votes6
answers49406
viewsQ: how to search for an element in a list that is inside another list?
I have the following list composed of lists. [['julian', '0', '5'], ['ana', '10', '4']] and I need to use a function that tells me the position of any element within that list, I tried to use:…
-
2
votes3
answers21057
viewsQ: read text file and generate lists for each line with element separation
Quote in python, I have for example the following lines in a text file: 1,Janian,0,5,6,7,8,9 2,ana,01,9,5,6,8,1 and wanted to generate lists: list1 = [1,'Julian',0,5,6,7,8,9] Lista2 =…