When you start python interactively, it prints a banner at the top and then the prompt:
C:\Users\XXX>py
Python 3.13.0 (tags/v3.13.0:60403a5, Oct 7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>
It looks like you’ve included that banner at the start of your program.
Don’t do that.
How can I remove the same?
Open your script and remove those lines from the top.
Use an editor.
Python comes with an editor/debugger called IDLE. Look for it on the Windows start menu or right-click on the file in File Explorer and select Edit with IDLE.
I did use IDLE for writing the script.
The following error persists:
SyntaxError: invalid decimal literal
That’s the interactive prompt. You can see the prompt “>>>” in the left-hand margin.
Open the file with File->Open… menu entry, remove the unwanted lines, and then save it.