9951 explained code solutions for 126 technologies


pythonHow to yield nothing


def yield_nothing():
  return
  yieldctrl + c
yield_nothing()

name of the generator function to yield nothing

return

returns nothing

yield

yields after return (so never actually yields anything)