Answer to Question #318480 in Python for Women population

Question #318480

Women population


in a town, the percentage of men is 52 and the rest are women ( W ).the total population ( T ) of town is given as input.

write a program to print the total number of women in the town.


Input

the first line of input is an integer T .


output

the output should be an integer representing the total number of women in the town.


explanation

given total population 80000 . then the number of women should 80000*48/100=38400

so the output should be 38400 .


sample input 1

80000


sample output 1

38400


sample input 2

100000


sample output 1

48000


1
Expert's answer
2022-03-27T07:57:35-0400
def wom_pop(T):
    return 0.48 * T
wom_pop(150000)

72000.0

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS