\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio.Seq} \PYG{k+kn}{import} \PYG{n}{Seq}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio.Alphabet} \PYG{k+kn}{import} \PYG{n}{generic\PYGZus{}dna}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{list\PYGZus{}of\PYGZus{}seqs} \PYG{o}{=} \PYG{p}{[}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACGT\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}AACC\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}GGTT\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{)]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{concatenated} \PYG{o}{=} \PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{s} \PYG{o+ow}{in} \PYG{n}{list\PYGZus{}of\PYGZus{}seqs}\PYG{p}{:}
\PYG{g+gp}{... }     \PYG{n}{concatenated} \PYG{o}{+=} \PYG{n}{s}
\PYG{g+gp}{...}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{concatenated}
\PYG{g+go}{Seq(\PYGZsq{}ACGTAACCGGTT\PYGZsq{}, DNAAlphabet())}
\end{Verbatim}
