\begin{Verbatim}[commandchars=\\\{\}]
\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{SeqIO}

\PYG{n}{entries} \PYG{o}{=} \PYG{p}{[}
    \PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}Chr I\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}CHR\PYGZus{}I/NC\PYGZus{}003070.fna\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}Chr II\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}CHR\PYGZus{}II/NC\PYGZus{}003071.fna\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}Chr III\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}CHR\PYGZus{}III/NC\PYGZus{}003074.fna\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}Chr IV\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}CHR\PYGZus{}IV/NC\PYGZus{}003075.fna\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}Chr V\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}CHR\PYGZus{}V/NC\PYGZus{}003076.fna\PYGZdq{}}\PYG{p}{),}
\PYG{p}{]}
\PYG{k}{for} \PYG{p}{(}\PYG{n}{name}\PYG{p}{,} \PYG{n}{filename}\PYG{p}{)} \PYG{o+ow}{in} \PYG{n}{entries}\PYG{p}{:}
    \PYG{n}{record} \PYG{o}{=} \PYG{n}{SeqIO}\PYG{o}{.}\PYG{n}{read}\PYG{p}{(}\PYG{n}{filename}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}fasta\PYGZdq{}}\PYG{p}{)}
    \PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{name}\PYG{p}{,} \PYG{n+nb}{len}\PYG{p}{(}\PYG{n}{record}\PYG{p}{))}
\end{Verbatim}
