Python sequences (such as lists, tuples, and strings) support a common set of operations for accessing, iterating, and combining elements.
Indexing: Access individual elements using their zero-based position in the sequence...
Slicing: Extract a subsequence using the syntax sequence[start:stop:step]. This returns a new sequence of the same type.
Concatenation: Combine two sequences of the same type using the + operator. This creates a new sequence.
Repetition: Repeat a sequence a specified number of times using the * operator