how to update python 2 to 3 in kali linux code example
Example: how to update the kali linux os from python2 to python3
sudo apt update.
sudo apt install software-properties-common.
sudo add-apt-repository ppa:deadsnakes/ppa.
sudo apt update.
sudo apt install python3.8.