In some simple mathematics, here I am trying to get the percentage of targets which have been done from the total number. The ones which have been done are positive. In my understanding, the following mathematics should give me a percentage of 50, but running it, Python insists on giving me zero. Why would that be?
Total = 2
Positives = 1
Percentage = (Positives/Total)*100
print ('Percentage is: ' + str(Stat) + '%\n' )
>>>Percentage is: 0%