Python Coding For Percentage Calc