Python
Python copied to clipboard
Create Pascal Triangle
Given an integer N, print Pascal Triangle upto N rows. Input Format
Single integer N. Constraints
N <= 10 Output Format
Print pascal triangle. Sample Input
4
Sample Output
1
1 1
1 2 1 1 3 3 1
Add in patterns folder of python
Done
Hey @akshitagupta15june I would like to work on this as a part of Hacktoberfest. Pls assign me this.
Hi! I can give you the code. Can you assign it to me?