generate functionThu, 11 May 2023

Desarrolle un programa permita calcular el porcentaje de hombres y mujeres que seencuentran en el aula

def percentages(hombres, mujeres): total = hombres + mujeres porcentaje_hombres = hombres / total * 100 porcentaje_mujeres = mujeres / total * 100 return porcentaje_hombres, porcentaje_mujeres percentages(44, 56)

Questions about programming?Chat with your personal AI assistant