title: Write a program that asks the user to enter five test scores. Correspond it to a letter grade
body: <p>Determine_grade - accepts a single number as an argument and displays a letter grade for the score based on the following grading scale:</p>
  
  <pre><code>Score 90-100 80-89 70-79 60-69 Below 60
  
  Letter Grade A
  B
  C
  D
  F
  </code></pre>
  
  <ul>
  <li>calc_average - takes a list of grades as an argument and displays the average of the scores, along with a letter grade equivalent to that average.</li>
  <li>main - asks the user to enter five test scores and puts them as numbers into a list</li>
  <li>showLetters – echo prints scores entered by the user with letter grade equivalents</li>
  </ul>
  
  <p>Write the comments by each major step. Here is a sample run of the program:</p>
  
  <p>Enter the grades: 65,80,90,71,85 </p>
  
  <pre><code>65.0 is D
  80.0 is B
  90.0 is A
  71.0 is C
  85.0 is B
  </code></pre>
  
  <p>The average is: 78.2 which is C</p>
  
  <pre><code>def main():
      enter code herescores = input("Enter five test scores seperated by commas:")
      listScores = scores.split(",")`enter code here`
      determine_grade(listScores)
      calc_average(listScores)
  
  def determine_grade(grades):
      for num in grades:
          if int(num) &gt;= 90 and int(num) &lt;= 100:
              print("A")
          elif int(num) &gt;=80 and int(num) &lt;= 89:
              print("B")
          elif int(num) &gt;=70 and int(num) &lt;= 79:
              print("C")
          elif int(num) &gt;=60 and int(num) &lt;= 69:
              print("D")
          else:
              print("F")
  
  
  def calc_average(grades):
      total = 0
      for num in grades:
          total += int(num)
      average = total / 5
      print(average)
  
  
  #def show_letters(values):
  main()
  </code></pre>
  
  <p>This is what I have so far but cannot seem to figure out how to format it? </p>