pyospackage.add_numbers#
A module that adds numbers together.
You may want to delete this module or modify it for your package. It’s generally good practice to have a docstring that explains the purpose of the module, at the top.
Functions#
|
Add two numbers together and return the result value. |
Module Contents#
- pyospackage.add_numbers.add_numbers(a: float, b: float) float#
Add two numbers together and return the result value.
This is an example function with a numpy style docstring. We recommend using this style for consistency and readability.
Parameters#
- afloat
The first number to add.
- bfloat
The second number to add.
Returns#
- float
The sum of the two numbers.
Examples#
>>> add_numbers(3, 5) 8 >>> add_numbers(-2, 7) 5