#Write a function that has two parameters: price and tax. Functions calculates #and returns the final price after tax applied #Write main that reads price and tax for two items and finds final price for #each and the total def final_price(price, tax): return (price+price*tax/100) def main(): total=0 for i in range(2): price=float(input("enter price ")) tax=int(input("enter tax ")) final=final_price(price, tax) print("the final price for item", i+1, "is", final) total=total+final print("Total", total) main()