184_notes:lists

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
184_notes:lists [2022/04/20 15:08] woodsna1184_notes:lists [2022/05/06 21:59] woodsna1
Line 13: Line 13:
 </code> </code>
  
-You can think of a list like a column in an excel spreadsheet, it has many fields that can each be filled with an object. You can also access each bucket in a list to update or retrieve the object within it. One way is by using list indexing. Indices in a Python list start at 0 for the first element:+You can think of a list like an excel spreadsheet, it has many rows (each representing an object), and each row has several columns (representing the attributes of the object). You can also access each bucket in a list to update or retrieve the object within it. One way is by using list indexing. Indices in a Python list start at 0 for the first element:
  
 <code> <code>
  • 184_notes/lists.txt
  • Last modified: 2022/05/07 01:20
  • by woodsna1