0

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!!

Edited by vegaseat: added code tags

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by vegaseat
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.