Operations
This module is just there to help with doc building etc. on project creation.
You will probably delete it early in the project.
Functions:
add_two
Add two numbers
Parameters:
| Name |
Type |
Description |
Default |
a
|
float
|
|
required
|
b
|
float
|
|
required
|
Returns:
Examples:
>>> add_two(1, 3)
4
>>> add_two(1, -3)
-2
Source code in src/openscm_calibration/operations.py
| def add_two(a: float, b: float) -> float:
"""
Add two numbers
Parameters
----------
a
First number
b
Second number
Returns
-------
:
Sum of the numbers
Examples
--------
>>> add_two(1, 3)
4
>>> add_two(1, -3)
-2
"""
return a + b
|