1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alex Ar [27]
3 years ago
7

Assume that the final grade for a course is determined based on this scale - A: 900 points, B: 800-899 points, C: 700-799 points

, D: 600-699 points, F: 599 or fewer points. Write a function named get_letter_grade() that takes the number of points the student has earned as a parameter. It should return a string containing (only) the letter grade the student will receive.
Computers and Technology
1 answer:
saul85 [17]3 years ago
5 0

Answer:

In Python:

def get_letter_grade(points):

   if points>=900:

       grade ="A"

   elif points>=800 and points < 900:

       grade ="B"

   elif points>=700 and points < 800:

       grade ="C"

   elif points>=600 and points < 700:

       grade ="D"

   else:

       grade = "F"

   return grade

Explanation:

This defines the function

def get_letter_grade(points):

The following if-else if conditions check the score to determine the appropriate grade

<em>    if points>=900:</em>

<em>        grade ="A"</em>

<em>    elif points>=800 and points < 900:</em>

<em>        grade ="B"</em>

<em>    elif points>=700 and points < 800:</em>

<em>        grade ="C"</em>

<em>    elif points>=600 and points < 700:</em>

<em>        grade ="D"</em>

<em>    else:</em>

<em>        grade = "F"</em>

This returns the grade

   return grade

You might be interested in
Please help me!! 10 Points are waiting!!
prisoha [69]

Google

https://google.com

Google has a large index of keywords and where those words can be found. Google uses a trademarked algorithm called PageRank, which assigns each Web page a relevancy score.

3 0
3 years ago
Private void finishMap()
ziro4ka [17]

Answer:

Where can I find Codehs answers?

You can view the solution for an assignment in multiple ways: Through the Assignments page.

...

To view solutions from the Assignments page:

Navigate to the Assignments page.

Click the '...' next to the assignment you wish to view the solution for.

Choose Solution and another page will open with the solution reference.

7 0
3 years ago
What is the deference between touch screen phone and keypad phone
Mazyrski [523]
zzzzzzzzzkzkskdxjjeisiwis
8 0
3 years ago
If the cpu is fast but the bus speed is slow, that condition is called?
yanalaym [24]
A slow processors but the need more bytes
5 0
2 years ago
Why the car floated before it started to sink? Explain.​
zhenek [66]

Answer:

it still had air in it

Explanation:

its simple

8 0
3 years ago
Other questions:
  • I need help please?!!!!!!!!!
    15·1 answer
  • Two electronics technicians are looking at the piece of testing equipment shown in the figure above. Technician A says that this
    10·1 answer
  • Most Answers MOST ANSWERS
    11·2 answers
  • Match terms in the first column with the order descriptions in column two.
    11·1 answer
  • A _____ is a digital media file distributed over the Internet using syndication feeds for playback on mobile devices and persona
    6·1 answer
  • This career involves answering questions about computer parts and trouble shooting broken computers? Video game designer, comput
    10·1 answer
  • What do you need for digital photography? 1. 2. 3.
    13·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    11·1 answer
  • Item 3
    15·1 answer
  • How long will it take to transfer a file size of 1gb on a usb 2.0 and a usb 3.0 drive?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!