This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
NewerOlder