Skip to contents

Division of integers

Usage

divmod(a, b)

Arguments

a

the dividend

b

the divisor

Value

a list with two elements, quo (quotient) and rem (remainder)