two_numbers
TwoNumbers
dataclass
¶
Example class that adds two numbers.
Source code in src/my_project/two_numbers.py
add()
¶
Add two numbers together.
Examples:
Returns:
| Type | Description |
|---|---|
int
|
The sum of the two numbers. |
Note
This function only supports integers.
You can put title here.
- Add support for floats.
- Add support for strings.