File size: 210 Bytes
e16247a
 
 
 
 
 
1
2
3
4
5
6
male = int(input())
female = int(input())
total = male+female
ratio1 = male/total
ratio2 = female/total
print("The male students ratio is %.2f,the female students ratio is %.2f"%(ratio1*100, ratio2*100, total))