Skip to content

Instantly share code, notes, and snippets.

@pamelafox
Created August 30, 2021 05:38
Show Gist options
  • Save pamelafox/91cc0d1b22c0340e89f7d15023d41c06 to your computer and use it in GitHub Desktop.
Save pamelafox/91cc0d1b22c0340e89f7d15023d41c06 to your computer and use it in GitHub Desktop.
Has Curly Hair
"""
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