Question: Imagine, for example, we have a students dictionary that indicates whether a student has completed an assignment and we want to track the students that

Imagine, for example, we have a students dictionary that indicates whether a student has completed an assignment and we want to track the students that have not yet completed the assignment.
Using the students dictionary provided below, write a for loop that loops across the dictionary and collects all subject numbers (ex.'S2') where the dictionary value is False. Store the subject numbers in a new list named incomplete.
The code should programmatically determine which keys store the value False, storing those keys in a list.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!