Iam new to python. So my code was working just fine, until I opened the same program a few hours later. The language being used is Python, in Visual code. This is a screenshot of the output terminal.
The program prompts the user to either press 'M' or 'D'at the very beginning. However, when I do so, it dosen't register. Not only 'M' or 'D', but any charater entered isn't accepted. I have code runner extension istalled. As mentioned above, the input was being accepted a few hours prior to this. I installed visual code today itself, so it is the latest version. Please help.