quicktest package

Submodules

quicktest.functions module

quicktest.functions.squared(x)[source]

Returns the square of the input x

x, float:
Base number
float:
Base number raised to power 2

pow : raise an argument to an arbitrary power

Examples

>>> squared(2)
4
>>> squared(8)
64
>>> squared(-1)
1

Module contents