Go to the Python website and download the most recent python version. Run the executable
You can install Python by Command Line(CLI) using the command"sudo apt install python3.12"(most recent at time is 3.12) or install it by downloading the executable and unpack it with "dpkg -i [file name]" (This is for Debian so doesn't apply for Fedora or Arch)