code: def interactive_shell():
      
      print('You should be able to read and update the "counter[0]" variable from this shell.')
      try:
          yield from embed(globals=globals(), return_asyncio_coroutine=True, patch_stdout=True)
      except EOFError:
          # Stop the loop when quitting the repl. (Ctrl-D press.)
          loop.stop()
docs: Coroutine that starts a Python REPL from which we can access the global
      counter variable.