Skip to content

Example

solutions.example

Functions:

Name Description
add_one

Add 1 unit to number and return.

Attributes:

Name Type Description
Number

Data Type for numbers includes both fixed and

Number = int | float module-attribute

Data Type for numbers includes both fixed and floating-point representations.

add_one(number)

Add 1 unit to number and return.

Parameters:

Name Type Description Default
number Number

A number to be incremented by one.

required