\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{residue\PYGZus{}frequencies} \PYG{o}{=} \PYG{n}{numpy}\PYG{o}{.}\PYG{n}{sum}\PYG{p}{(}\PYG{n}{observed\PYGZus{}frequencies}\PYG{p}{,} \PYG{l+m+mi}{0}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{residue\PYGZus{}frequencies}\PYG{o}{.}\PYG{n}{format}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}}\PYG{l+s+si}{\PYGZpc{}.4f}\PYG{l+s+s2}{\PYGZdq{}}\PYG{p}{))}
\PYG{g+go}{D 0.2015}
\PYG{g+go}{E 0.2743}
\PYG{g+go}{H 0.0976}
\PYG{g+go}{K 0.2569}
\PYG{g+go}{R 0.1697}
\PYG{g+go}{\PYGZlt{}BLANKLINE\PYGZgt{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{numpy}\PYG{o}{.}\PYG{n}{sum}\PYG{p}{(}\PYG{n}{residue\PYGZus{}frequencies}\PYG{p}{)}
\PYG{g+go}{1.0}
\end{Verbatim}
