/**
 * Generates an array containing each number from 0 up to and excluding n in sequence.
 * Works like Python's range() function when using a single argument.
 */
export function range(n: number): number[] {
  return Array.from(Array(n).keys());
}
