Sequences is the name that python gives to a data structure that contains a “sequence” of elements, each with a numeric consecutive index. The sequence is very similar to an array in other programming languages. The first index number is 0 and they increment by one as elements are added.
Sequences can contain numbers, strings, other sequences, etc…
Creating a sequence
You can define a sequence like a list of elements separated by commas and listed inside square brackets ():
1 ages = [13, 15, 22, 23, 56, 12, 33]