functools import functools Method Description Usage functools.partial Create another function based on the existed one, assigning default arguments. newrange = partial(range, 1)newrange(100)