If you can't find where to find code runner as said in Ali NoumSali Traore's answer, here's what you got to do:
- Go to extensions (Ctrl + Shift + X)
- Find code runner and click on the settings icon on bottom right of the code runner
- Click configure extensions settings
- Find code_runner: Run in terminal
- Check "Whether to run code in terminal"