Generation

generate functionSun, 13 Nov 2022

sex

def sex(name): if name == 'Samantha': return 'Female' elif name == 'Alex': return 'Male' else: return 'Unknown' sex('Samantha')

Questions about programming?Chat with your personal AI assistant