The code below which I have written should print the result of 43.6 with the given values I have included at the end of this question, but for some odd reason I get the result of 41.8.
print('Enter the total cost of the meal') Total_cost= input() print('Enter how much the tip is') Tip= input() print('Enter how many people there are') People= input() Total_cost = (Tip + Total_cost) / People print('Each person will have to pay') print(Total_cost) Total_cost = (Total_cost * 9) / 100 I am aiming for the result of 41.8, but somehow get the result of 44.44. (meal cost: 200) (Tip: 9) (people: 5) (Equation: Total * Percentage Amount / 100) I seem to be implementing the correct equation, but instead of 43.6, I am getting the result of 41.8?. -- https://mail.python.org/mailman/listinfo/python-list