Created
August 30, 2021 05:38
-
-
Save pamelafox/91cc0d1b22c0340e89f7d15023d41c06 to your computer and use it in GitHub Desktop.
Has Curly Hair
This file contains hidden or 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
""" | |
This function should only return True | |
if both the father allele and the mother allele are "C". | |
""" | |
def has_curly_hair(father_allele, mother_allele): | |
""" | |
>>> has_curly_hair("C", "c") | |
False | |
>>> has_curly_hair("c", "C") | |
False | |
>>> has_curly_hair("s", "s") | |
False | |
>>> has_curly_hair("C", "C") | |
True | |
""" | |
return 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment