divide
Calculates the quotient of two numbers. Takes a dividend and a divisor, returns the result, and raises an error if the divisor is zero.
Instructions
Divide the first number by the second.
Args: a: The number to be divided (the dividend). b: The number to divide by (the divisor). Must not be zero.
Returns: The result of a divided by b.
Raises: DivisionByZeroError: If b is zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |