I have a project on creating a program that asks for the propertys actual value. Then it showes the assessed value (which is 60% of the actual value). Then it shows the property tax (which is $.64 for every $100 of assessed value). I have gotten a TypeError: unsupported operand type(s) for * : 'function' and 'float'. I am stuc here and have tryed almost everything I an think of and I am just learning Python. I would appreciate your help if you can!
Heres what I have so far:
def main():
vaue()
assessed = (value * 0.6)
avalue()
ptax()
def value():
value = input("Enter the actual value: ")
def avalue():
print "The assessed value is $%0.2f" % assessed
def ptax():
tax = ( (assessed / 100) * 0.64)
print "The property tax is $%0.2f" % tax
main()
--------------------------------------------
Thanks again!!