I am getting an error message stating the syntax is invalid when I type commands beginning with \'sudo apt\' or \'sudo apt-get\' in the terminal to delete Python 3.9.1, alth