<filename>_includes/examples/02partial/pow2.py
from functools import partial
pow_2 = partial(pow, exp=2)
print(f'{pow_2(5)=}') # pow_2(5)=25
<filename>_includes/examples/02partial/pow2.py
from functools import partial
pow_2 = partial(pow, exp=2)
print(f'{pow_2(5)=}') # pow_2(5)=25
# pow_2(5)=25