"""categories: Modules,builtinsdescription: Second argument to next() is not implementedcause: MicroPython is optimised for code space.workaround: Instead of ``val = next(it, deflt)`` use:: try: val = next(it) except StopIteration: val = deflt"""print(next(iter(range(0)),42))