Python: print syntax error: problem with invalid syntax error


Method one:
This error occurs frequently when using Python, because the print of V2.x version is changed to print () in python v3.0 and later.
So print(“Hello world!” ) It’s done.

Method 2:
Enter variables directly in parentheses:

Read More: