Ask Your Question

Revision history [back]

The ellipsis operator looks at the previous two numbers to guess the step.

sage: [2, 4 .. 10]
[2, 4, 6, 8, 10]