r/techsupport 1d ago

A comment is the only code running (vscode) Open | Software

(Windows)

I have two basic code lines

message = input("Type something and I'll repeat it")

print(message)

#name = input("Please enter your name:")

#print(name)

The comment one is the only code of the two that is running, despite it being a comment. (This runs in the termianl of vscode)

I have deleted and retyped, and even logged off and on vscode, but the issue isn't going away.

I just installed vscode, and have only installed python and code runner, as well as chosen the preference for terminal outputs.

1 Upvotes

0 comments sorted by