line = [[('survived', '0'), ('sex', 'male'), ('age', '22.0'), ('n_siblings_spouses', '1'),
('parch', '0'), ('fare', '7.25'),  ('class', 'Third'), ('deck', 'unknown'), ('embark_town', 'Southampton'), ('alone', 'n')],
[('survived', '1'), ('sex', 'female'),('age', '38.0'), ('n_siblings_spouses', '1'),('parch', '0'),('fare', '71.2833'),
('class', 'First'), ('deck', 'C'), ('embark_town', 'Cherbourg'), ('alone', 'n')],
[('survived', '1'),('sex', 'female'),('age', '26.0'),('n_siblings_spouses', '0'),('parch', '0'),('fare', '7.925'),
('class', 'Third'),('deck', 'unknown'),('embark_town', 'Southampton'), ('alone', 'y')]]
print(line)

print(line[0][1], line[2][1])