def input_meal():
    mealPrice = eval(input('Enter the meal subtotal: $'))
mealPrice = float(mealPrice)
return mealPrice

def calc_tax(mealPrice):
    tax = mealPrice * 0.06
return tax
m = input_meal()
print(calc_tax(m))
Specifying number of decimal places in Python