function
divmod
divmod(lhs: Int, rhs: Int) -> StaticIntTuple[2]
Computes both the quotient and remainder using integer division.
Args:
- lhs (
Int
): The value of the left hand side. - rhs (
Int
): The value of the right hand side.
Returns:
The quotient and remainder as a tuple (lhs // rhs, lhs % rhs)
.