title: Keep getting a global name not defined error
body: <pre><code>def defineType(riskCode):
      if riskCode == 1:
          riskType = High
      else:
          if riskCode == 2:
              riskType = Moderate
          else:
              if riskCode == 3:
                  riskType = Low
              else:
                  if RiskCode == 4:
                      riskType = No
  </code></pre>
  
  <p>This is part of a program I'm working on for a class...  </p>
  
  <pre><code># Global Variables
  custName = input('Please enter your name: ')
  custAge = int(input('Please enter your age: '))
  custViolation = int(input('Please enter the number of violations: '))
  
  riskCode = 0
  estimatePrice = 0
  riskType = none
  </code></pre>
  
  <p>These are my global variable...  </p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Alli\Downloads\HwyRobbery.py", line 13, in &lt;module&gt;
      riskType = none
  NameError: name 'none' is not defined
  </code></pre>
  
  <p>This is the error that I keep getting with different variations depending on what changes I make to try to solve the problem</p>
  
  <p>Any help would be greatly appreciated!!!</p>
  
  <p>Thanks!
  Alli</p>