Hi guys i just start to programming and im trying to get this right.
A = [['1','Jack','33'], ['2','Maria','23'], ['3','Christian','9'] ]
B = [['1','Jack','33'], ['2','Maria','23'], ['3','Christian','9'], ['4','Denis','45'] ]
I want to check the array B[0] and print out just "4 Denis 45"
Bis a list which contains another list. Get the first list byB[0]and then access whichever index you want from it - likeB[0][-1]to get "4 Denis 45"B[0]"? Why do you want to print "4 Denis 45"? Because it's the last sublist? Because it's Denis? Because you like him better, or because he's not in the other list? Because he has the highest score? Your question is unclear, please clarify and explain what you tried and how it failed.