On 2022-01-15, Bob Griffin <bob.griffi...@gmail.com> wrote:
>    I am running this program and keep getting this error.  Is this normal?
>
>    Invalid syntax.  Perhaps you forgot a comma?
>
>    Also the t in tags is highlighted.
>
>    I even tried different versions of Python also.
>
>    Python 3.10.1 (tags/v3.10.1:2cd268a, Dec  6 2021, 19:10:37) [MSC v.1929 64
>    bit (AMD64)] on win32
>
>    Type "help", "copyright", "credits" or "license()" for more information.
>
>    print("Hello World")
>
>    Hello World
>
>    input("\n\nPress the enter key to exit.")

You're only supposed to enter the lines:

    print("Hello World")

and

    input("\n\nPress the enter key to exit.")

The other lines are showing you the output you should see.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to