This change removes unnecessary type casting from the slice_sequence() helper function in the Local sequence alignment exercises section.
# The same result is achieved in both cases, but the second
# is simpler and only copies the sequence once.
''.join(list(sequence)[start_pos:end_pos+1])
sequence[start_pos:end_pos+1]
This change removes unnecessary type casting from the slice_sequence() helper function in the Local sequence alignment exercises section.