def makeSemVer(version):
    'Turn simple float number (0.1) into semver-compatible number\n    for comparison by adding .0(s): (0.1.0)'
    version = str(version)
    if (version.count('.') < 2):
        version = '.'.join(map(str, list(map(int, version.split('.')))))
        version = (version + ((2 - version.count('.')) * '.0'))
    return version
Turn simple float number (0.1) into semver-compatible number
for comparison by adding .0(s): (0.1.0)
def makeSemVer(version):
    'Turn simple float number (0.1) into semver-compatible number\n    for comparison by adding .0(s): (0.1.0)'
    version = str(version)
    if (version.count('.') < 2):
        version = '.'.join(map(str, list(map(int, version.split('.')))))
        version = (version + ((2 - version.count('.')) * '.0'))
    return version