If valst is a True list (containing elements), why does this work:
valst.append(seq)
id_seq_dict[id] = valst
But this does not work:
id_seq_dict[id] = valst.append(seq)
Is it because the append method returns nothing?
If valst is a True list (containing elements), why does this work:
valst.append(seq)
id_seq_dict[id] = valst
But this does not work:
id_seq_dict[id] = valst.append(seq)
Is it because the append method returns nothing?