NAME
times — multiply a line's numbers
SYNOPSIS
times(nums)
PARAMETERS
nums: the numbers of the line, such as [2, 3].
RETURN VALUE
Their product: 1 for none, 6 for ×2 ×3, 0 when a 0 is among them.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
