code: def html_for_modules_method(method_name, *args, **kwargs):
      
      method = getattr(modules, method_name)
      value = method(*args, **kwargs)
      return KEY_VALUE_TEMPLATE.format(method_name, value)
docs: Returns an HTML snippet for a Modules API method.
  
      Args:
          method_name: A string containing a Modules API method.
          args: Positional arguments to be passed to the method.
          kwargs: Keyword arguments to be passed to the method.
  
      Returns:
          String HTML representing the Modules API method and value.