I have an old VM that started out as Ubuntu 16.x then I upgraded it to the 18x series and now 20.x series. I was surprised that python 2.7 was still the system python.
I discovered that if you upgrade from 18x to 20x the system python is NOT changed. Why is Python 2.7 still the default Python version in Ubuntu? On fresh install of Ubuntu 20.x python 3.x is the default.
What is the correct procedure to remove python 2.7 from an upgraded system?