generate functionThu, 11 May 2023

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

def get_proportions(hombres, mujeres): total = hombres + mujeres por_hombres = (hombres / total) * 100 por_mujeres = (mujeres / total) * 100 return por_hombres, por_mujeres get_proportions(10, 10)

Questions about programming?Chat with your personal AI assistant