Skip to content

Instantly share code, notes, and snippets.

@pamelafox
Created August 30, 2021 05:43
Show Gist options
  • Save pamelafox/3e782b91438502661edd27bf02c1ffe5 to your computer and use it in GitHub Desktop.
Save pamelafox/3e782b91438502661edd27bf02c1ffe5 to your computer and use it in GitHub Desktop.
Has Free Lobe
"""
This function should only return True
if both the father allele and the mother allele are "G".
"""
def has_free_lobe(father_allele, mother_allele):
"""
>>> has_free_lobe("G", "g")
False
>>> has_free_lobe("g", "G")
False
>>> has_free_lobe("g", "g")
False
>>> has_free_lobe("G", "G")
True
"""
return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment