Amazon Interview Question : Program to Print Pascal Triangle | Python Code
Вставка
- Опубліковано 5 вер 2024
- Print Pascal Triangle asked in Google & Amazon Interview Questions
GitHub Link:- github.com/net...
Playlist of our series-www.youtube.co....
Facebook: / netsetos-751. .
Twitter: / netsetos
LinkedIn: / netsetos
Quora: www.quora.com/....
Instagram : www.instagram.....
#google #interview #netsetos
yes, explained very clearly
It's very clearly explained, thank you!
You are welcome!
Thank you miss I fully understood the concept!
Maja aa gaya ma'am ...mai faltu mai aur video explore kar gaya..
Clean and clear ...explanation 👏🏻👏🏻👏
Glad It was helpful !!!
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
😍😍
Love this one
Excellent work
Good explanation
Thanks a lot
Nice explaination.....I would like to see some programs....to avoid TLE and memory ...like mamoization
It is so helpful
Thank you
Glad it was helpful!
can you explain how to print it in the shape
PLEASE WHAT CODE WILL YOU USE TO GET THE ROW IN A TRIANGLE FORM
how do i print into pattern??
and nth row of the pattren
can you please rply
If u want to delete last column i.e=1 of row 6 and print all the remaining output what is the code
Mandam can you plz explain this problem matrix having X's and O 's as elements print max area of x's
Very clearly explained! Thanks
You're welcome!
mam why we are taking list of list in this program??
i want to learn patterns so pls send vaild link
Hope it will help you. ua-cam.com/play/PLFV6T8f5WU2G6uyHgwc3p8XPkygSU8uNg.html
Hi sister pythonlo functions use chesi arthemetic operations chepara
How to print it in the triangle pattern?
for i in a:
print(i)
Just pint using a loop as print gives a new line