Answer:
Step-by-step explanation:
price = eval(input("price of item: "))
quantity = eval(input("quantity of item: "))
sales_tax = 0.08 # 8% sales tax
total_cost = price*quantity
total_cost_with_tax = total_cost + total_cost*sales_tax
print("total cost: "+str(total_cost))
print("total cost + 8% sales tax: "+str(total_cost_with_tax))