from functools import partial


def exp(base, power):
    return base ** power


two_to_the = partial(exp, 2)
tw = partial(exp, power=2)
print(two_to_the(3))
print(tw(3))

f63797b887ddcbb678e95e393316ce4b1bd8af68
<mask token>


def exp(base, power):
    return base ** power


<mask token>

<mask token>


def exp(base, power):
    return base ** power


<mask token>
print(two_to_the(3))
print(tw(3))

<mask token>


def exp(base, power):
    return base ** power


two_to_the = partial(exp, 2)
tw = partial(exp, power=2)
print(two_to_the(3))
print(tw(3))

from functools import partial


def exp(base, power):
    return base ** power


two_to_the = partial(exp, 2)
tw = partial(exp, power=2)
print(two_to_the(3))
print(tw(3))
