セクション 1. 章 3
single
Challenge: 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.
タスク
スワイプしてコーディングを開始
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_rostercontaining 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
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください