Skip to content

Instantly share code, notes, and snippets.

@drummer777
drummer777 / Assignment 2. PYTHON
Last active December 23, 2015 05:39
I just wanted to share my work! Thanks to everybody for helping me in this assignment =)
def get_length(dna):
""" (str) -> int
Return the length of the DNA sequence dna.
>>> get_length('ATCGAT')
6
>>> get_length('ATCG')
4
"""