Challenge: Find Students Needing Improvement
Teachers often need to identify students who may need extra support. In this challenge, you'll use a dictionary of grades to find and print the names of students with grades below 70.
Swipe to start coding
Write a Python script that identifies students who scored below 70.
- Loop through the
gradesdictionary. - For each student, check if their grade is less than 70.
- Print the name of any student whose grade is below 70.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you show me how to create the dictionary of grades?
How do I print the names of students with grades below 70?
Can you explain how to check each student's grade in the dictionary?
Awesome!
Completion rate improved to 4.76
Challenge: Find Students Needing Improvement
Swipe to show menu
Teachers often need to identify students who may need extra support. In this challenge, you'll use a dictionary of grades to find and print the names of students with grades below 70.
Swipe to start coding
Write a Python script that identifies students who scored below 70.
- Loop through the
gradesdictionary. - For each student, check if their grade is less than 70.
- Print the name of any student whose grade is below 70.
Solution
Thanks for your feedback!
single