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.
Lösning
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
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?
Fantastiskt!
Completion betyg förbättrat till 4.76
Challenge: Find Students Needing Improvement
Svep för att visa menyn
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.
Lösning
Tack för dina kommentarer!
single