'Repository file not found on medium 'https://download.opensuse.org/' when installing Python38

I am trying to install Python 3.8 on SUSE Linux using the instructions from here. The addrepo command fails as shown below.

sudo zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
File '/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo' not found on medium 'https://download.opensuse.org/'
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Problem encountered while trying to read the file at the specified URI:
ABORT request: Aborting requested by user
History:
 - File '/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo' not found on medium 'https://download.opensuse.org/'
  1. How do I get around this issue?
  2. SLES knowledgeable folks have told me that, the instance is using SLES 15 SP2. So, I tried looking for Python here - no results! How does one install Python 3.8 on SUSE Linux?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source