Search code examples
pythonpython-3.xpycharm

'End of statement expected' in pycharm


Why am I getting this error

Why am I getting this error (see linting) saying 'End of statement expected' in pycharm?


Solution

  • Try print with parenthesis in Python3 i.e. print(x) instead of print x