- Simple pascal's triangle generator
Create a function def pascal_triangle(n): that returns a list of lists of integers representing the Pascal’s triangle of n:
- Returns an empty list if
n <= 0 - You can assume
nwill be always an integer - File(s): 0-pascal_triangle.py, binomial_theorem.py