Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda 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.

Tarefa

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.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 3
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Create a Student Roster

Deslize para mostrar o menu

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.

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 3
single

single

some-alt