Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("ingrese cantidad de hombres")
- hombre=int(input())
- print("ingrese cantiad de mujeres")
- mujer=int(input())
- suma=hombre+mujer
- porcentajeh=(hombre*100)/suma
- porcentajem=(mujer*100)/suma
- print("el % de hombres es",porcentajeh)
- print("el % de mujeres es",porcentajem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement