<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def python_version(self):
 """Get the configured Python version. If this is not set in the config, then it defaults to the version of the current runtime. Returns: A string of the form "MAJOR.MINOR", e.g. "3.6". """

        v = self.get('python-version', '')
        if v == '':
            v = "{}.{}".format(sys.version_info.major, sys.version_info.minor)
        return v