prelim namespace

prelim.prelim module

Simple module for checking your Python and logic environment.

prelim.prelim.half(x)

Halves the given even integer.

Parameters

x (int) – even integer to halve.

Return type

int

Returns

An integer z such that z+z=x.