Python Lists with Enumerate and unpacking operators
A list can be unpacked with the * operator which is much nicer than using “”.join The example below also shows how to access an element from a list comprehension where enumerate has been used. This is helpful where you needed to know the index of the letter in a string Try the code below […]