Table of contents

Sequence

  • A sequence is an ensemble (collection) of items, arranged in a specific order.
  • Elements in a sequence can be accessed using index numbers.
  • Sequences are ordered sets of elements, meaning their order is preserved.
  • Common types of sequences include. Those are String, list, set, and Dictionary, etc. 
  • Sequences are widely used in Python for data manipulation and storage.