first i would like to say thank you very much for explaining very clearly ...but there is a small mistake in that program,taht is ,in second for loop, end = "(space)".
n = int(input()) # n = 5 for i in range(1,n+1): # loop runs from 1; 2 ; 3 ; 4 ; 5 spaces = (" " * (n-i) ) # space for 1st iteration is (n = 5 ) - ( i=1) so it will be 4 space stars = ("* " * (i) ) # star for 1 st iteration is ( i ) so it is (1) so it will be 1 star print(spaces + stars ) .
Mem it's just osm thank u so much am searching this code on Google on TH-cam but m not satisfied now this was osm keep it up u r too good mem
Thanks a lot 😊
Thank u so much for providing me with fun and enjoyable python programming project.
Pleasure 😊
thank you so much, you're a lifesaver! your video explained the whole process, and it was very easy to follow along!!
first i would like to say thank you very much for explaining very clearly ...but there is a small mistake in that program,taht is ,in second for loop, end = "(space)".
Wah what an explanation ...thank you
after every star I need space but when i giving space after * the pattern in printing like a full pyramid
bro...have you got answer?
The best!!!
way of teaching is very nice
I need help i want to space between start to start please explain
Thanq very much mam
Pleasure 😊
Thank you very much
Pleasure 😊
You have a beautiful voice :)
Thank you 🙏 mam. Well said.
thanks for code.. one more doubt how to get space between stars
n = int(input()) # n = 5
for i in range(1,n+1): # loop runs from 1; 2 ; 3 ; 4 ; 5
spaces = (" " * (n-i) ) # space for 1st iteration is (n = 5 ) - ( i=1) so it will be 4 space
stars = ("* " * (i) ) # star for 1 st iteration is ( i ) so it is (1) so it will be 1 star
print(spaces + stars )
.
Best ever seen
Thank you :)
Got it❤️👍🏼
Thank you :)
Yen