1. Uninstall python3.5
sudo apt-get remove python3.5
2. Uninstall python3.5 and its dependencies
sudo apt-get remove --auto-remove python3.5
3. Clear python3.5
To clear python3.5 configuration files and data files, execute the following command:
sudo apt-get purge python3.5
sudo apt-get purge --auto-remove python3.5