VScode python not ouput

Viewed 33

Why is there no output in my vs code python.

enter image description here

2 Answers

Try saving your file before running it.

You can do this very quickly using the shortcut Crtl + S.

first you have to save your code by pressing ctrl+s. By default python output will be displayed on Vscode "Terminal". To display the result in "Output" use "Code Runner" extension.


Code Runner extension

Related