Challenge: Built-In Iterators in Use
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a function named format_scores that takes two lists, names and scores, of equal length.
- Use Python's built-in iterators to process both lists in parallel.
- The numbering should start at 1.
- Return a list of these formatted strings, in order.
- Expected result:
'1. Alice scored 85','2. Bob scored 92','3. Charlie scored 78'.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 5. 章 2
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください
セクション 5. 章 2