pascals triangle.py offers functionality to produce a Pascals Triangle and to print it.
>>> n = 5
>>> triangle = get_pascals_triangle(n)
>>> output_triangle(triangle)
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
functionality to produce a Pascal's triangle and to print it
pascals triangle.py offers functionality to produce a Pascals Triangle and to print it.
>>> n = 5
>>> triangle = get_pascals_triangle(n)
>>> output_triangle(triangle)
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
functionality to produce a Pascal's triangle and to print it