11 lines
379 B
Text
11 lines
379 B
Text
F displayRange(first, last, step)
|
||
print(‘(#2, #2, #2): ’.format(first, last, step), end' ‘’)
|
||
I step == 0
|
||
print(‘not allowed.’)
|
||
E
|
||
print(Array((first..last).step(step)))
|
||
|
||
L(f, l, s) [(-2, 2, 1), (-2, 2, 0), (-2, 2, -1),
|
||
(-2, 2, 10), (2, -2, 1), ( 2, 2, 1),
|
||
( 2, 2, -1), (2, 2, 0), ( 0, 0, 0)]
|
||
displayRange(f, l, s)
|