Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Create a Student Roster | Getting Started with Python for the Classroom
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Teachers

bookChallenge: Create a Student Roster

Teachers often need to keep track of student names. In this challenge, you'll create a Python list to store student names and practice adding/removing students.

Aufgabe

Swipe to start coding

Write a Python script that creates a list of at least five student names, adds a new student, removes one, and prints the final list.

  • Create a list called student_roster containing at least five names.
  • Add a new student name to the list.
  • Remove one student name from the list.
  • Assign the final list to final_list.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 3
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Create a Student Roster

Swipe um das Menü anzuzeigen

Teachers often need to keep track of student names. In this challenge, you'll create a Python list to store student names and practice adding/removing students.

Aufgabe

Swipe to start coding

Write a Python script that creates a list of at least five student names, adds a new student, removes one, and prints the final list.

  • Create a list called student_roster containing at least five names.
  • Add a new student name to the list.
  • Remove one student name from the list.
  • Assign the final list to final_list.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 3
single

single

some-alt