Ask a question to get started
Enter to sendā¢Shift+Enter new line
Generate elements from an iterable, and a boolean indicating if it is the last element.
generate_with_last_element_mark( iterable: Iterable[T], ) -> Iterator[Tuple[T, bool]]