Based on what is shown, Command Prompt itself appears to be working normally. The message occurs because print() is a programming-language function (for example, in Python), but Command Prompt does not interpret it that way.
To verify this:
- Display text in Command Prompt:
echo abc - Perform a calculation:
set /a 1+1
If you're following a Python tutorial, start Python first: python
- Then run:
print(1+1)andprint("abc")
If echo abc and set /a 1+1 work correctly, there is likely no issue with Command Prompt, and the solution is to use the appropriate command or run the commands within the Python interpreter instead.
Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.