Skip to content

subtraction

Reference

The subtraction function will subtract the two values and return the value.

Parameters

Will accept a list of 2 float or int 2 types.

Returns

Returns a float.

Usage

from milesianpy.parsers import operator_parser
operator_parser_class = operator_parser.OperatorParser
response = operator_parser_class.subtraction([2.0, 4.0])