Amazon Interview Question : Program to Print Pascal Triangle | Python Code

preview_player
Показать описание
Print Pascal Triangle asked in Google & Amazon Interview Questions

#google #interview #netsetos
Рекомендации по теме
Комментарии
Автор

Maja aa gaya ma'am ...mai faltu mai aur video explore kar gaya..

amansrivastava
Автор

Thank you miss I fully understood the concept!

cinward
Автор

It's very clearly explained, thank you!

oxanasf
Автор

array = int(input("Enter a number: "))
for i in range(0, array):
x = 1
for j in range(1, array - i):
print(" ", end="")

for k in range(0, i + 1):
print(" ", x, end="")
x = int(x * (i-k) / (k + 1))
print()

Hehehehe

carlbenedictelipan
Автор

Nice would like to see some programs....to avoid TLE and memory ...like mamoization

amitfulari
Автор

can you explain how to print it in the shape

tadiwamagwenzi
Автор

how do i print into pattern??
and nth row of the pattren
can you please rply

yeshu
Автор

If u want to delete last column i.e=1 of row 6 and print all the remaining output what is the code

kumaraniket
Автор

Mandam can you plz explain this problem matrix having X's and O 's as elements print max area of x's

venubabuvelpuri
Автор

mam why we are taking list of list in this program??

sabarishravishankar
Автор

Hi sister pythonlo functions use chesi arthemetic operations chepara

sirijaiswee
Автор

How to print it in the triangle pattern?

raveena
Автор

i want to learn patterns so pls send vaild link

yeshwanthsara
visit shbcf.ru