<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def experimental(name=None):
 """A simple decorator to mark functions and methods as experimental."""

    def inner(func):
        @functools.wraps(func)
        def wrapper(*fargs, **kw):
            fname = name
            if name is None:
                fname = func.__name__
            warnings.warn("%s" % fname, category=ExperimentalWarning,
                          stacklevel=2)
            return func(*fargs, **kw)
        return wrapper
    return inner