test.func2¶
- test.func2(x, y)¶
second test function
- Parameters
x (int, float or complex) – first factor
y (int, float or complex) – second factor
- Raises
ValueError – if both are 0
- Returns
product (int, float or complex) – the product of x and y
sum (int, float or complex) – the sum of x and y