<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def html_for_modules_method(method_name, *args, **kwargs):
 """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. """

    method = getattr(modules, method_name)
    value = method(*args, **kwargs)
    return KEY_VALUE_TEMPLATE.format(method_name, value)