print("Don't forget to make a donation to the Shawn Hing Fund")
cost_of_food = float(input("What is the cost of the food?: "))
tip_percentage = int(input("What percent tip?: "))
number_of_people_paying = int(input("How many people are splitting bill? "))
print("\n")
payment_per_person = ("%.2f" % round(float(((tip_percentage / 100 +1) * cost_of_food) / number_of_people_paying), 2))
tip_percentage = "%.2f" % float(tip_percentage / 100 * cost_of_food) print(f"Tip amount: ${tip_percentage}")
cost_of_food_float = float(cost_of_food) tip_percentage_float = float(tip_percentage) tip_percentage_and_cost_of_food = (cost_of_food_float + tip_percentage_float) print(f"cost of food including percentage of tip: ${tip_percentage_and_cost_of_food}")
print(f"Each person pays: ${payment_per_person}")
print("Don't forget to make a donation to the Shawn Hing Fund!")