O'Reilly logo
  • You Wang thinks this is interesting:

A sequence type is one that supports the membership operator (in), the size function (len()), slices ([]), and is iterable. Python provides five built-in sequence types: bytearray, bytes, list, str, and tuple


Cover of Programming in Python 3: A Complete Introduction to the Python Language, Second Edition


this is an operational definition: the object that supports membership, size, slice and iterable