Skip to content

API

Customizations are done using CSS in the docs/css/mkdocstrings.css file.

This is still a work in progress. So far, the customizations work on tablets and PCs, but not on mobile phones.

Package

sandbox

Do math with your own functions.

Modules exported by this package:

Examples:

Python Console Session
>>> from sand_pkg import calculations,  
>>> calculations.add(2, 4)
6.0
>>> calculations.multiply(2.0, 4.0)
8.0
>>> from calculator.calculations import divide
>>> divide(4.0, 2)
2.0
Note

In order to test the code, type:

python -m doctest test.py

Modules: