© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. GutaPragmatic Python Programminghttps://doi.org/10.1007/978-1-4842-8152-9_5

5. The Sequence: From Data to the Data Structure

Gabor Guta1  
(1)
Budapest, Hungary
 

“Computer programs usually operate on tables of information. ... In its simplest form, a table might be a linear list of elements, when its relevant structural properties might include the answers to such questions as: Which element is first in the list? Which is last? Which elements precede and follow a given one? How many elements are in the list? A lot can be said about structure even in this apparently simple case ...”

Donald E. Knuth

Several data types have been described so far, such as numbers, ...

Get Pragmatic Python Programming: Learning Python the Smart Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.