I cant run Python file on Ubuntu

I am a new Ubuntu user. I got this error in terminal when I was trying to open file

  File  line 68
    print '[-] Failed to connect'
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('[-] Failed to connect')?

command

python 56544.py

I use python3.8.5



Read more here: https://stackoverflow.com/questions/65877163/i-cant-run-python-file-on-ubuntu

Content Attribution

This content was originally published by Amr at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: