What is a sequence in Python?

Опубликовано: 05 Ноябрь 2024
на канале: Python Morsels
614
20

Sequences are iterables that have a length. Sequences are ordered collections (they maintain the order of their contents). The most common sequences built-in to Python are string, tuple, and list.

https://pym.dev/sequence/

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Which ones are sequences?
00:32 The properties of a sequence
01:09 Iterables that aren't sequences
01:36 Summary