Skip to content

Instantly share code, notes, and snippets.

View roger35972134's full-sized avatar

Roger Wang roger35972134

View GitHub Profile
def get_length(dna):
lengh=len(dna)
return lengh
def is_longer(dna1, dna2):
""" (str, str) -> bool
Return True if and only if DNA sequence dna1 is longer than DNA sequence
dna2.