How to Display Python output in VS code terminal

Viewed 56

So.. whenever i try running Python codes in Vs code the output isn't shown in terminal part but the output part, can someone tell me how to make the output visible in terminal part plss

1 Answers

Running code in VS Code defaults to outputting results in the TERMINAL panel.

enter image description here

Have you downloaded and installed the Code Runner extension? and run the code with the option Run Code it brings?

If so, please add the following configuration to your settings.json file, this will make Code Runner run the code and output the result in the TERMINAL panel.

    "code-runner.runInTerminal": true,

enter image description here

Related