Pascals Triangle The pattern you see here is called Pascals Triangle: The numbers at the edge of

Question:

Pascal’s Triangle The pattern you see here is called Pascal’s Triangle:image

The numbers at the edge of the triangle are all 1, and each number inside the triangle is the sum of the two numbers above it.
Write a function pascal with the following output:image

image

You may assume that the argument will always be a natural number ¿= 1.
The examples given here show a formatted output of the Pascal triangles, but your output does not need to look the same. For your output, it is sufficient to produce the list. Spaces in the lists are just for illustrative purposes here; you are not required to print them.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: