0

ok so I just started learning today, This simple code works as expected when I run it in the integrated terminal but not in the output window, I'm not able to type in the numbers, any suggestions on how to solve the issue ? Executed in output window

Executed in terminal window

1

1 Answer 1

2

As described in this Question: Cannot edit in read-only editor VS Code. The VS Code Output window is read-only. So you cannot input any values there. And as your code requires input, it will only work in a terminal (as you can input values there).

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for taking out time to solve my question, this definitely avoided a lot of confusion.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.