# Define function calculate_tax
def calculate_tax(price, tax_rate):
    total = price + (price*tax_rate)
    print(my_price)   # Try to print my_price. 동작함
    return total


# Main program calls the function
my_price = float(input("Enter a price: "))

total_price = calculate_tax(my_price, 0.06)
print("price = ", my_price, " Total price = ", total_price)
