Skip to content

Instantly share code, notes, and snippets.

professions = [
'director', 'secretary', 'doctor', 'nurse', 'volunteer', 'politician', 'artist', 'scientist',
'teacher', 'professor', 'parent', 'expert', 'veterinarian', 'physician', 'chef', 'cook',
'physicist', 'babysitter', 'plumber', 'unemployed',
]
def describe_closer(woman_rank, man_rank):
if woman_rank == man_rank:
return "Both are equal!"
if woman_rank < man_rank: