title: Python exercise 3.3 complete code
body: <p>I am unable to get the script to return the letter grade. The code allows me to enter the grade, but it does not return the letter grade. It currently is error free, but fails to return response.</p>
  
  <pre><code>#Given (1) score, and (2) grade
  # For scores between 0.0 - 1.0, this programs prints the letter grade
  # For scores enter out of the range of 0.0- 1.0 this program will print an error message
  # Use try/catch exception handling to gracefully exit on values outside of the specified range
  
  import sys
  
  
  score= input ("Enter numeric value of score: ")
  score = 0.0-1.0
  # Convert input from default string value to integer
  floatScore = float (score)
  try:
       intScore = int (score)
  
  
  except:
      if score &gt; 1.0:
          print ("Bad Score")
  
  
  # Use conditional loop to display letter grade based on user-supplied score
  
  
  # Print letter grade
  
  
      elif 1.0 &gt;= score&gt;=.9:
          print ("Grade is A" + str(intScore))
      elif .9 &gt; score&gt;=.8:
          print ("B")
      elif .8 &gt;score&gt;=.7:
          print ("C")    
      elif .7 &gt;score&gt;=.6:
          print ("D")
      elif .6 &gt;score&gt;=.5:
          print ("F")
  
  # End program
  </code></pre>