Diamond-Dewan you should always set up virtual environment for learning, you can use pyenv to install the latest version of python (or any version you want) and use virtualenv to set the environment, it is pretty easy.
pyenv can be found here: [(https://github.com/pyenv/pyenv)]
With pyenv you will need to install a few packages:
sudo eopkg it -c system.devel
sudo eopkg install git gcc make zlib-devel bzip2-devel readline-devel sqlite3-devel openssl-devel tk-devel
virtualenv is here: [(https://virtualenv.pypa.io/en/stable/)]
If you find it difficult, you can use pycharm and set your virtual environment for your project in pycharm and select which version of python you want to use