title: NameError: name 'grade' is not defined
body: <p>I am trying to write a program that will number grade output when the user enters a letter grade. I am getting this error:  NameError: name 'grade' is not defined.  Can someone tell me what this error means and help me figure out how to fix it.  I am new to programming so I am realy lost.</p>
  
  <pre><code>letterGrade = (input("Please enter a letter grade: "))
  
  if grade &gt;= A:
      grade == "4.0"
  elif grade &lt; A:
        grade &lt; "4.0"
  print(grade)
  </code></pre>