What exactly is this error? invalid base 10 digit 'c'

Thanks.

Please paste your code and outputs, preferably in triple backtick fences, rather than linking images.

What happens is you’re trying to parse user input as an integer, but it’s being fed a 'c' which isn’t a base 10 digit.

1 Like

The Python extension is being annoying.

Tip: To prevent automatic activation of a selected environment, add "python.terminal.activateEnvironment": false to your settings.json file (it can be placed anywhere as a sibling to the existing settings).

as per