Hi,
When using the InteractiveShell method run_cell, there is a problem when the string to execute begins with a line that contains only 4 spaces. It then does not handle properly the indentations of the subsequent loops.

Tested on JupyterNotebook, JupyterLab and the Ipython interactive shell in the terminal.
Config:
- jupyter --version 4.4.0
- ipython --version 7.0.1
- python3 --version Python 3.6.7
- Ubuntu 18.04.1 LTS
Hi,
When using the InteractiveShell method

run_cell, there is a problem when the string to execute begins with a line that contains only 4 spaces. It then does not handle properly the indentations of the subsequent loops.Tested on JupyterNotebook, JupyterLab and the Ipython interactive shell in the terminal.
Config: