Write a program that asks the user for the number of males


In Python

Write a program that asks the user for the number of males and the number of females registered in a class using two separate inputs ("Enter number of males:", "Enter number of females:").

The program should display the percentage of males and females (round to the nearest whole number) in the following format:

Percent males: 35%

Percent females: 65%

Use string formatting.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Write a program that asks the user for the number of males
Reference No:- TGS02907038

Expected delivery within 24 Hours