enumerate() Function

Function

enumerate( n )

Returns a list of integer numbers from 0 through n-1.

Parameters

Keyword Type Description

n

Number(Integer)

The number of days to test.

Returns

Integer Array

Usage considerations

The resulting enumerated list begins with zero.

To start the list at 1, add +1 onto the syntax as follows: enumerate(*n*)+1

Examples

You can experiment with this function in the test box below.

Test Input

enumerate(10) returns 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Open in Github Built: Fri, Oct 22, 2021 (11:11:24 AM)

On This Page

FEEDBACK