Skip to content

Add five

Example call

To increment the value of a number by five, use the add_five function.

1
2
3
from python_package_template import add_five

print(add_five(8))

Reference

python_package_template.add_five(number: int) -> int

Increment the input by 5.

Parameters:

Name Type Description Default
number int

The input number.

required

Returns:

Name Type Description
int int

The input incremented by 5.