Verified Commit cf55de4c authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix pep8

parent ef3842e6
from itertools import product
def all_codons():
"""
:return: the 64 codons
:rtype: list of string
"""
alphabet = 'acgt'
all_codons = [ ''.join(codon) for codon in product(alphabet, repeat = 3)]
return all_codons
\ No newline at end of file
all_codons = [''.join(codon) for codon in product(alphabet, repeat=3)]
return all_codons
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment