Skip to main content

add

Add two or three numbers.

def add(
x: number,
y: number,
z: number = None
) - > number

Add two or three numbers.

Parameters

NameTypeDescription
xnumberThe first numeric value to be added
ynumberThe second numeric value to be added
znumber = NoneAn optional third numeric value to include in the sum

Returns

TypeDescription
numberThe sum of the two or three provided numbers