This project contains tasks for working with Pascal's triangle.
- 0. Pascal's Triangle
0-pascal_triangle.py contains a functiondef pascal_triangle(n):that returns a list of lists of integers representing the Pascal's triangle ofn:- Returns an empty list if
n <= 0. - You can assume
nwill be always an integer.
- Returns an empty list if