Show question/input in vscode jupyter notebook output

Viewed 3817
1 Answers

At present, the Jupyter function in VSCode is provided by Python extension. The bottom of each cell is used to display output. Therefore, the input it receives is provided by the input box above, which is its display input mode.

enter image description here

If you want to display input and output in the same place, it is recommended that you use a python file, and the terminal will display the input and output content in turn.

enter image description here

Related