looping through a list of lists.

S

saoirse_79

I have a list of lists as follows:
[['-', '-', '-', '-', '-', '-', '-', 'K', 'S', 'A', 'K'],
['-', '-', '-', '-', 'L', 'Q', 'Q', 'T', 'N', 'S', 'E'],
['T', 'L', 'E', 'E', 'L', 'M', 'K', 'L', 'S', 'P', 'E']]
I want to be able to read each character and compare it with all
characters at the same positon in all sublists. Is this possible.
I have tried a few different methods but nothing seems to allow me to
compare the sublists character by character.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top