Hi there,
I am new to programming and have started the Microsoft first steps with Python course. I have navigated the installation of Python (3.9), Visual Studio Code, the Python extension for Visual Studio and have started into some of the practice exercises.
I have tried to run some of the practice programs but am not having much success. To try and identify the source of the problem, I have copied the provided Microsoft code from one of the examples. The issues appear to be as far as I can tell from my extremely limited understanding:
- The program is not running/partially running; and
- The program is returning the following error: ValueError: invalid literal for int() with base 10:
Specifically, I have to run the program three times before it ends. I have attached a screen grab from the terminal output from the program.
My assumption is that this might have something to do with Visual Studio set up as the output from the Microsoft example code does not match the provided output.
Any assistance would be greatly appreciated. Cheers!