How can I create a 2 column list for X (unknown) amounts of rows? I need to be able to extend/append the list and edit single entries afterward.
def get_types(sequence_list):
    seq_types = [[], []]
    for sequence in sequence_list:
        if sequence.seq_type not in seq_types:
            seq_types.append(sequence.seq_type)
        elif sequence.seq_type in seq_types:
            seq_index = seq_types.index(sequence.seq_type)
            # now do +1 on a second column of that seq_index
    return seq_types
I could probably do this with two separate lists and zip() them afterward but that feels somewhat wrong.
 
     
    