Pascal's Triangle | Python Pattern Programs
Вставка
- Опубліковано 4 вер 2024
- In this Python Pattern Printing Programming video tutorial you will learn to print Pascal's Triangle in detail.
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients. It is named after the French mathematician Blaise Pascal. Here Each number is the numbers directly above it added together.
Triangle Star Pattern:
• Python Pattern Program...
#PythonPatternPrograms #PythonStarPatterns #Pascal'sTriangle
For more free tutorials on computer programming
/ amulsacademy
AmulsAcademy
"Nothing but" confused me a lot. Nothing but finally i got it 😂🙏
hehe a bad habit, i will try to control it sorry :)
😂😂😂😂😂😂
The way you explain each and every single thing is superb!!
Mam your explanation has perfection and excellent understanding for the audience....... and best thing you have your own style....👍👍
Thanks a lot 😊
Thank you very much... Best explanation I have seen on this pattern printing available on youtube
Glad it was helpful!
Some times i watching your video repeatedly for your voice ❤❤...
You are very good teacher helps me to clear all dbts
Thank you :)
beautiful explanation, thank you for explaining in simple and brief manner
Thanks, it was useful. Your logics and explanations are best!.
You're welcome!
Thanks for your explanation! But for n = 0 or n = 1 it is necessary that the cycle be up to n + 1: for i in range(n + 1)
This video is nothing but perfect
your video is nothing but increddible!!
Thank you 😊
you are a god in programming;
for i in range(n):
you=[*str(11**i)]
for k in range(n,i+1,-1):
print(" ",end="")
for item in you:
print(item,end=" ")
print()
more Easy Way To Do This Problem
I'm getting an error as list index out of range..can you pls help
explained very beautifully, Thank you.
Glad it was helpful!
Never been glad to find a video; you made hours of research worthwhile. Thank you a lot!!!
thank u and your coding skill is very impresive
Congrats! You just got a new subscriber.
Welcome :)
Wow.... how did you learn how to dissect programming tasks like this. You are wonderful!!!
omg ur tutorials are best 💓
Thank you so much 😀
Mam can u plz make Videos on phyton algorithms such as greedy algorithm, Dijkstra's etc please mam
Спасибо тебе большое, видео получилось замечательным! ❤
심화모둠 때 혼자서 파이썬을 공부해야 해서 난관을 겪고 있었는데, 자세하게 설명해주셔서 덕분에 좋은 결과물이 나온 것 같습니다 감사합니다!
Thanks Amulya for uploading Pascal's triangle based on my request. Much easier to understand and your videos makes the subject even more interesting : -)
You are welcome 😊
Thank you! That was very helpful
Thank you soooo much, I had a hard time understanding this but your video gave me the clearest explanation and I finally understood this fully.
Glad it helped!
Thank you a lot mam.. you explanation is just great !!
Most welcome! :)
Well explained concept Amulya. Thanks for sharing!
My pleasure 😊
Your logic is easy but it's showing an out of range error , I wonder how you are getting the output successfully and I am getting an error running the same code 🤔
The code has an error actually, it is one step ahead. The triangle starts from the zero step which is not considered in the code.
Thank you very much! Everything is clear!
excellent explanation..👍👍
Thank you so much for the wonderful video explaining so well
Welcome :)
The immediate change i observed is nothing but Amulya's instead of Amuls ...😃
Yes Channel name is Changed :)
Thank you mam. Awesome
I did not understand the fist time I looked but I looked three times finally I got it . Thanks you so much. using this the concept I solved 15 question in project eluer.
Great 😊👍
This isn't working, showing list index out of range in else statement
Give me the program i will check :)
For me also
For Me Also
same
@@AmulsAcademy row=int(input("Enter number of rows: "))
num=[]
for i in range(row):
temp=[]
for j in range(i+1):
if j==0 or j==1:
temp.append(1)
else:
temp.append(num[i-1][j-1] + num[i-1][j])
num.append(temp)
for i in range (row):
for j in range(row-i-1):
print(" ",end="")
for j in range(i+1):
print(num[i][j],end="")
print()
Thank you so much👍😀
Just AMAZING 🤠❤️
Thank you :)
Bt.. Mam your english speaking is so cute... Mam i love your voice.. Uff just I love it ❤❤
woah, chill 😂
Amazing explanation
Thank you!
Thnx ma'am .....best explanation 👍👍👍👍
Most welcome 😊
Ur the best
Thank you 😊
Thanks, it helped.
It helps me a lot mam thank you
Glad to hear that😊
Mam but it's giving error: List out of range how can I solve it mam I can't able to understand if possible please reply mam
Give me the program 😊
@@AmulsAcademy n = int(input("enter no of rows:"))
list1 = []
for i in range(n):
list2 = []
for j in range(i+1):
if j == 0 or j == i:
list2.append(1)
else:
list2.append(list1[i-1][j] + list1[i-1][j-1])
list1.append(list2)
print(list1)
This is I wrote mam and in line no. 9 its giving error:IndexError: list index out of range and a warning sign also says: Name 'j' can be undefined
Can these questions be included in basics of DSA?
Thank you so much!
Nice i love your videos.......
Thank you so much 😀
Thanks! But your code have a little problem: in second cycle you need add a check "if i == 0 or j == 0 or j == i", otherwise there will be an error
Thank you very much!!! 🧡
Pleasure 😊
Awww! Love your voice
thank u mam
Thank you so much 🙂
Excellent work 🤯
Keep doing 👏
Most welcome 😊
Hi Amulya miss , you taught in a very clear way.
Thanks a lot :)
Mam, It's giving me an error of list out of range. Could you please help me?
Same here
Great video. Very concise!
Thank you :)
Thank you, very best explanations...
THANQ SO MUCH
My Pleasure :)
Thnku didi
wonderfully explained 🙏
Thank you 😊
Though there is only one difference you are using python 3.8.6 and I am using python 3.10.6 ....
thank you so much. very good explanation!
Glad it was helpful! :)
Amazing explanation! Thank you!
data is not getting strored properly can anyone help me out
Super madam😌😌
Thank you :)
thank you :))
Pleasure :)
@@AmulsAcademy you are the best :))
@@AmulsAcademy from Algeria !
@Amulya's Academy R u a South Indian?? Kannadiga???
Very helpful, thank you
Glad it was helpful! :)
Спасибо большое, разобрался с задачей!!!!
n = int(input())
list1 = []
for i in range(n):
temp_list = []
for j in range(i+1):
if j == 0 or j == i:
temp_list.append(1)
else:
temp_list.append(list1[i-1][j-1] + list1[i-1][j])
print(list1)
IndexError: list index out of range
sorry, my mistake
i also get this.how you solve this?
help me please
Excelente
Thank you :)
mam matplotlib package tutorial has been completed or not.
No :)
Amulya sister could you make a video about tkinter and pygame in python..my request pls❤
In Italy we call it Tartaglia's triangle
Сделайте доступными субтитры, интересно смотреть картинку и код, но хочется послушать и объяснение. MAKE SUBTITLES PLS!!!
next time you could copy de code in the description or in the comments
I will try :)
Mam are you rgukt student???
NO :)
Doesn't work for me... :/
Give me the program i will make it work for you : )
I want to join python class
thanks
Where are you from?
Karnataka India :)
too long but helpful thanks a lot
i guess you could have done this way too easy then this
Hello ma'am or miss can u plz made playlist for class 12 cbse base on syllabus plz
I will try :)
The entire program is nothing BUT pascal's triangle program.
thank you mam i am a huse fan of you but im confused you are a mam or sir...?
Thank you :)
I am a girl :)
You can call me amulya.
@@AmulsAcademy yeah i like your voice ❣️aap is nothing but is nothing but bhut use krti h😃
does that sound like a man? lol
Thank you, cute girl
this is 'NOTHING BUT' easy 🤣🤣🤣
Mam how to print when we want to print this Pascal triangle in reverse order
in terms of shape?
please help me
ничего не понял, что говорит, но мне помогло)))
nothing but... :D
Worst explanation
Thank you!