📅  最后修改于: 2022-03-11 14:47:11.253000             🧑  作者: Mango
代码示例1
>>> triples = [rna[i:i+3] for i in range(0, len(rna), 3)]
>>> print triples
['UUU', 'UCU', 'UAU', 'UGU', 'UUC', 'UCC']