Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Retrieving Information from Nested List | Other Data Types in Python
Introduction to Python (dev copy) (copy) 1769011330820
セクション 4.  5
single

single

bookChallenge: Retrieving Information from Nested List

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

You've been provided with the list people, which includes sub-lists detailing the names and ages of five individuals, as shown below:

NameAge
Alex23
Noah34
Peter29
John41
Michelle35

To extract specific information using indexing, follow these steps:

  1. Display the details (the entire sub-list) of the fourth person.
  2. Display the name of the first person.
  3. Display the age of the fifth person.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 4.  5
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt