Remove/uninstall Python 3 from Ubuntu
sudo apt remove python3
sudo apt remove –auto-remove python3
sudo apt purge python3
sudo apt purge –auto-remove python3
sudo rm -r /usr/local/bin/python3
sudo rm -r /usr/bin/python3
Remove/uninstall Python 3 from Ubuntu
sudo apt remove python3
sudo apt remove –auto-remove python3
sudo apt purge python3
sudo apt purge –auto-remove python3
sudo rm -r /usr/local/bin/python3
sudo rm -r /usr/bin/python3