Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте 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.

Завдання

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.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Suggested prompts:

How do I create a Python list for student names?

How can I add a student to the list?

How do I remove a student from the list?

close

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.

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3
single

single

some-alt