Skip to content

addition

Reference

The addition function will add two values together 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.addition([2.0, 4.0])