#test 4 prep Part 1 problem 1 def final_price(pounds, price, tax): return (pounds*price)*(1+tax/100) def total(size): tax=int(input("enter tax ")) sum=0 for i in range(size): pounds=float(input("enter number of pounds ")) price=float(input("price per pound ")) result=final_price(pounds, price, tax) print("final prices for item", i+1, "is", format(result, ".2f")) sum+=result return sum def main(): size=int(input("enter number of items ")) print("total price", format(total(size), ".2f")) main()