# Code Reuse
{id: code-reuse}

##  Permutations
{id: permutations}

* [Permutations](https://en.wikipedia.org/wiki/Permutation)

![](examples/code-reuse/permutation.py)

## k-Permutations
{id: k-permutations}

![](examples/code-reuse/k_permutation.py)


## Binomial coefficient
{id: binomial-coefficient}

* [Binomial coefficient](https://en.wikipedia.org/wiki/Binomial_coefficient)

![](examples/code-reuse/binomial_coefficient.py)

## Binomial coefficient - factorial function
{id: binomial-coefficient-factorial-function}

![](examples/code-reuse/binomial_coefficient_function.py)

## k-Permutations - factorial function
{id: k-permutations-factorial-function}

![](examples/code-reuse/k_permutation_function.py)


##  Permutations - factorial funcion
{id: permutations-factorial-function}

![](examples/code-reuse/permutation_function.py)

##  mymath module
{id: mymath-module}


![](examples/code-reuse/mymath.py)

##  Permutations - module
{id: permutations-module}

![](examples/code-reuse/permutation_module.py)

## k-Permutations - module
{id: k-permutations-module}

![](examples/code-reuse/k_permutation_module.py)

## Binomial coefficient - module
{id: binomial-coefficient-module}

![](examples/code-reuse/binomial_coefficient_module.py)



