1. 학습
  2. /
  3. 강의
  4. /
  5. Introduction to Python

Connected

연습 문제

Subsetting lists of lists

A Python list can also contain other lists.

To subset lists of lists, you can use the same technique as before: square brackets. This would look something like this for a list, house:

house[2][0]

지침

100 XP
  • Subset the house list to get the float 9.5.