code: def max_ver(ver1, ver2):
      
      cmp_res = compare(ver1, ver2)
      if cmp_res == 0 or cmp_res == 1:
          return ver1
      else:
          return ver2
docs: Returns the greater version of two versions
  
      :param ver1: version string 1
      :param ver2: version string 2
      :return: the greater version of the two
      :rtype: :class:`VersionInfo`
  
      >>> import semver
      >>> semver.max_ver("1.0.0", "2.0.0")
      '2.0.0'