Sequence Type and Iterables in Python
Sequence Type in python are strings, lists, tuples, byte sequences, byte arrays and range objects they are indexable and you can iterate through them. All the sequence type are iterables you can get each element one by one. But all iterables are not sequence type like for example set in which you can iterate through a set but you cannot use indexing. Lets take at some example using sequence type and … Continue reading Sequence Type and Iterables in Python