code: def generate_version(max_major: int = 1, max_minor: int = 7,
                       max_patch: int = 15) -> str:
      
      major = randint(0, max_major)
      minor = randint(0, max_minor)
      patch = randint(0, max_patch)
      return '{:d}.{:d}.{:d}'.format(major, minor, patch)
docs: Select a random version.
  
      Args:
          max_major (int, optional) maximum major version
          max_minor (int, optional) maximum minor version
          max_patch (int, optional) maximum patch version
  
      Returns:
          str, Version String