Subtract three
Example call
To decrement the value of a number by three, use the subtract_three function.
| from python_package_template import subtract_three
print(subtract_three(8))
|
Reference
python_package_template.subtract_three(number: int) -> int
Decrement the input by 3.
Parameters:
| Name |
Type |
Description |
Default |
number
|
int
|
|
required
|
Returns:
| Name | Type |
Description |
int |
int
|
The input decremented by 3.
|