Python program to print the first n rows of a pascals triangle | Python coding in Hindi

preview_player
Показать описание
Python program to print the first n rows of a pascals triangle in Hindi
Python program to print pascals triangle in Hindi

0:00 Intro
0:25 Problem Description
2:09 Python function to print the first n rows of a pascals triangle
12:55 Testing the python code to print the first n rows of a pascals triangle
16:04 Formatting the output

Example 1:
Input:
n = 5
Output:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1

Example 2:
Input:
n = 3
Output:
1
1 1
1 2 1

Python practice program for beginners.
Python practice program in strings.
Python practice program in sorting.
Python practice program in lists.

Python practice program for CBSE class 11 & class 12 computer science students in Hindi.
Python tutorial in Hindi for CBSE class XI & class XII computer science students.

#pythonprogramming #pythonforbeginners #pythoninhindi #python #pythoncoding #pythonprograms
Рекомендации по теме