title: NameError: name 'value' is not defined
body: <p><strong>(background first: I am NEW to programming and currently in my very first "intro to programming class" in my college. This is our second assignment dealing with Functions. So far functions have been a pain in the ass for me because they don't really make any sense. ex: you can use miles_gas(gas) but then don't use "miles_gas" anywhere else, but the program still runs??, anyways)</strong></p>
  
  <p>Okay, I've looked EVERYWHERE online for this and can't find an answer. Everything is using "Exceptions" and "try" and all that advanced stuff. I'm NEW so I have no idea what exceptions are, or try, nor do I care to use them considering my teacher hasn't assigned anything like that yet.</p>
  
  <p>My project is to make a program that gives you the assessment value, and the property tax upon entering your property price. Here is the code I came up with (following the video from my class, as well as in the book)</p>
  
  <pre><code>ASSESSMENT_VALUE = .60
  TAX = 0.64
  
  def main():
      price = float(input('Enter the property value: '))
      show_value(value)
      show_tax(tax)
  
  def show_value():
      value = price * ASSESSMENT_VALUE
      print('Your properties assessment value is $', \
          format(value, ',.2f'), \
          sep='')
  
  def show_tax(value,TAX):
      tax = value * TAX
      print('Your property tax will be $', \
          format(tax, ',.2f'), \
          sep='')    
  
  main()
  </code></pre>
  
  <p>Upon running it, I get it to ask "blah blah enter price:" so I enter price then I get a huge red error saying </p>
  
  <pre><code>Traceback (most recent call last):
        File "C:/Users/Gret/Desktop/chapter3/exercise6.py", line 41, in &lt;module&gt;
        main()
  File "C:/Users/Gret/Desktop/chapter3/exercise6.py", line 24, in main
  show_value(value)
  NameError: name 'value' is not defined
  </code></pre>
  
  <p>But I DID define 'value'... so why is it giving me an error??</p>