klyn.Application.range
method
public static range<T extends AbstractInt>(start as T, stop as T) as Generator<T>:
Description

Builds a Python-style integer range from start to stop (exclusive).

for i in range(2, 5):
print(i)
Parameters
  • start Inclusive lower bound.
  • stop Exclusive upper bound.
Returns

A generator containing each integer in the requested interval.