0x00. Pascal's Triangle
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 n will be always an integer
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
0x00. Pascal's Triangle
Create a function def pascal_triangle(n): that returns a list of lists of integers representing the Pascal’s triangle of n: