Please post the code that produces this error.
Please post the error you see with that code.
Do not post screen shots, post as preformatted text.
You can use </>
to preformatted text you have selected.
You appear to be trying to execute some informational text that Python displays on startup, not actual Python code.
The third line is actual code, but the first 2 lines aren’t, as you say.
Yes, the first two are the ones that appear on startup; the third is not. This looks like an overzealous copy-paste from another session.
Oh! That is what we are seeing - I missed that…
Reproduced like this:
$ py3
Python 3.13.0 (v3.13.0:60403a5409f, Oct 7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> Python 3.13.0 (v3.13.0:60403a5409f, Oct 7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
File "<python-input-0>", line 1
Python 3.13.0 (v3.13.0:60403a5409f, Oct 7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
^
SyntaxError: invalid decimal literal
>>>