"### Exercise 1 ###\n", "\n", "The table presented below gives a final grade based on the amount of points a student get at the end of the course. Write a program that asks the student for the number of points he got and, based on the number of points the program should print the student's final grade: \n", "points grade \n", ‒‒‒‒‒‒‒‒‒‒-----\n", less than 500 | between 500 and 550 between 551 and 640 between 641 and 730 between 731 and 800 between 801 and 850 between 851 and 900 " between 901 and 960 " above 960 0 |\n", "Use the if-elif-else consditional to solve this problem. \n" 1 "cell_type": "code", "execution_count": null, "id": "831e820c", "metadata": {}, "outputs": [], "source": [] 0.5 \n", 1.0\n", 1.5 \n", 2.0\n", 2.5 \n", 3.0 \n", 3.5 \n", 4.0 \n", "cell_type": "markdown", "id": "fa947e7e", "metadata": {}, "source":[

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
"### Exercise 1 ###\n",
"The table presented below gives a final grade based on the amount of points a student get at the end of the course. Write a program that asks the student for the number of
points he got and, based on the number of points the program should print the student's final grade: \n",
"\n",
" points grade |\n",
11
]
},
},
{
----\n",
less than 500 |
0
|\n",
between 500 and 550 | 0.5 \n",
between 551 and 640
between 641 and 730
between 731 and 800
between 801 and 850
between 851 and 900
between 901 and 960
above 960
"\n",
"Use the if-elif-else consditional to solve this problem. \n"
"cell_type": "code",
'execution_count": null,
"id": "831e820c",
"metadata": {},
"outputs": [],
"source": []
1.0 \n",
1.5 \n",
2.0 \n",
2.5 \n",
3.0 \n",
3.5 \n",
4.0 \n",
"cell_type": "markdown",
"id": "fa947e7e",
"metadata": {},
"source": [
Transcribed Image Text:"### Exercise 1 ###\n", "The table presented below gives a final grade based on the amount of points a student get at the end of the course. Write a program that asks the student for the number of points he got and, based on the number of points the program should print the student's final grade: \n", "\n", " points grade |\n", 11 ] }, }, { ----\n", less than 500 | 0 |\n", between 500 and 550 | 0.5 \n", between 551 and 640 between 641 and 730 between 731 and 800 between 801 and 850 between 851 and 900 between 901 and 960 above 960 "\n", "Use the if-elif-else consditional to solve this problem. \n" "cell_type": "code", 'execution_count": null, "id": "831e820c", "metadata": {}, "outputs": [], "source": [] 1.0 \n", 1.5 \n", 2.0 \n", 2.5 \n", 3.0 \n", 3.5 \n", 4.0 \n", "cell_type": "markdown", "id": "fa947e7e", "metadata": {}, "source": [
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage