Python’s built-in next function will consume the next item from a given iterator.

» Trey Hunner | pythonmorsels.com