Every row of my list goes like this:
[(21, ['Rodriguez', 'Lara', 'Vicky', '55302292'])]
and I want it to print just the name, in this case Vicky. The code I use is this
for x in numbers:
r=str(x)
d1= r.split(',')
print ('D1', d1)
and it prints this:
['[(21', " ['Rodriguez'", " 'Lara'", " 'Vicky'", " '55302292'])]"]
[(21, ['Rodriguez', 'Lara', 'Vicky', '55302292'])][0][1][2]:)