571
Comment:

563

Deletions are marked like this.  Additions are marked like this. 
Line 18:  Line 18: 
In APL, of course this can be done in a single line of APL.  Of course this can be done in a single line of APL. 
Pascal's triangle
In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle.
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1
The task
Write an APL function that takes an argument and returns a triangle like the one shown above. The argument defines the number of layers. The shown example has 6 layers.
Of course this can be done in a single line of APL.
>> [:PascalsTriangle/Solution:A solution]