akshitagit / akshitagit/Python

Create Pascal Triangle

Open
#15 4 comments 0 reactions 0 assignees View on GitHub
hacktoberfest moderate pattern
Dominant language
Python
Stars
124
Forks
109
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.