Skip to content

1. Easy as 1-2-3

Note: In this problem, you’re asked to enter some APL code, including an APL symbol and the data (text or numbers) given to it. Your code will be tested by the APL Challenge system to check whether it gives the correct answer and uses the methods described below.

It is easy to count in APL. Just write the symbol (iota, a Greek letter), to the left of a number; this will give you all the whole numbers from 1 to the number that you wrote. (Iota is like an i for integers, which means whole numbers.) For example, ⍳ 7 gives 1 2 3 4 5 6 7.


Write some APL code that uses to get the numbers from 1 to 12. The result should be 1 2 3 4 5 6 7 8 9 10 11 12