\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{len}\PYG{p}{(}\PYG{n}{record}\PYG{p}{)}
\PYG{g+go}{2}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{motif} \PYG{o}{=} \PYG{n}{record}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{motif}\PYG{o}{.}\PYG{n}{consensus}\PYG{p}{)}
\PYG{g+go}{GCGGCATGTGAAA}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{motif}\PYG{o}{.}\PYG{n}{degenerate\PYGZus{}consensus}\PYG{p}{)}
\PYG{g+go}{GSKGCATGTGAAA}
\end{Verbatim}
