I see. It should be the problem of extension ‘code runner’, can you confirm you have this installed?
If is, check this link and setup your python path GitHub - formulahendry/vscode-code-runner: Code Runner for Visual Studio Code 17