im getting this instead of the numbers i need to get
Cost of item: 0
Total: 65637.0
Sales tax: <function taxAmount at 0x000001F6357DD580>
Total after tax: <function afterTax at 0x000001F6357DD6C0>
Again? (y/n):)
i played around with it for over an hour and im tired help please
from TaxModule import taxAmount, afterTax
def title():
print("Sales Tax Calculator")
def menu():
print("ENTER ITEMS (ENTER 0 TO END)")
def main():
title()
menu()
done = False
totalSum = 0
while not done:
try:
choice = float(input("Cost of item: "))
if choice != 0:
totalSum += choice
print(totalSum)
continue
elif choice == 0:
done = True
except ValueError:
print("please enter a number")
print(f"\tTotal: {totalSum}")
print(f"\tSales tax: {taxAmount}")
print(f"\tTotal after tax: {afterTax}")
choice = input("Again? (y/n):)")
while True:
try:
if choice == ("y"):
menu()
elif choice == ("n"):
print("Thanks, bye!")
exit()
except ValueError:
print("Please enter (y/n)")
continue
main()```
this is the module
```py
def tax():
6
def taxAmount():
return totalSum * tax / 100
def afterTax():
return taxamount+totalSum
