To assign items of a Python iterables (such as list, tuple, string) to different variables, you can unpack the iterable like above.
Link to the source code.