Problems with setting up Visual Studio Code with Python

I downloaded VS Code and wanted to set it up with Python but it’s not working right. First of all I made 2 print statements. But when I ran my code, only the first statement got printed to the output window. Weird.

Then I watched a few videos on YouTube about how to setup VS Code so the output window would be real clean. No exit process 0 or looking at a directory path.

The video said to click on Run and Debug and launch a .json file. I was looking for "To customize run and debug create and launch a .json file. When I click on that I should have been looking for something that said Run and Debug. The guy in the video selected Python file. Debug the currently active Python file. When he did that he got a whole list of configurations that could be adjusted. He scrolled down the list until he found Console and then made a few adjustments.

I did not see anything like that in my version. Instead I saw "To customize run and debug open a folder and create a launch.json file.

I don’t know how to do that.

Then when I first installed VS Code I got a message before installation. Said something about it’s not meant to be run as administrator. I don’t know if that makes the program not work right. Don’t know.

Okay, I found another video where this guy did things a different way and it worked. Cool.

But I cannot get user input through the Output window. Have to use the terminal. Kind of hard to clear the terminal of all the text that is in there. I went on Stack Overflow and followed someone’s directions to clear the terminal but it did not work.

Is using Visual Studio Code a requirement?

If not, then maybe it will be much easier to just use PyCharm, as everything just works ‘out of the box’.