Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Track Missing Assignments | Automating Classroom Tasks
Python for Teachers

bookChallenge: Track Missing Assignments

Teachers need to follow up with students who miss assignments. In this challenge, you'll compare a list of all students with a list of submissions to find missing assignments.

Task

Swipe to start coding

Write a Python script that prints the names of students who have not submitted their assignments.

  • Compare the all_students list to the submitted_students list.
  • Identify students in all_students who are not present in submitted_students.
  • Print a list containing the names of students who have not submitted their assignments.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you show me the lists of all students and submissions?

How should the output of missing assignments be formatted?

Do you want to handle cases where a student submits multiple times?

close

bookChallenge: Track Missing Assignments

Swipe to show menu

Teachers need to follow up with students who miss assignments. In this challenge, you'll compare a list of all students with a list of submissions to find missing assignments.

Task

Swipe to start coding

Write a Python script that prints the names of students who have not submitted their assignments.

  • Compare the all_students list to the submitted_students list.
  • Identify students in all_students who are not present in submitted_students.
  • Print a list containing the names of students who have not submitted their assignments.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 3
single

single

some-alt