Printing Patterns | Nested loop in python | Python for beginners

  Рет қаралды 38,686

Coding With Sagar

Coding With Sagar

Күн бұрын

Пікірлер: 49
@aa1-gaming150
@aa1-gaming150 3 ай бұрын
Bhai mst padhaya 🎉❤ bhai ko support karo guys
@moonilyas
@moonilyas 8 ай бұрын
Wow😮 zabardast taraiqai sai apnai samjhaya 😊
@rameen584
@rameen584 2 ай бұрын
8:01 can also print this pattern for i in range (5,0,-1) print("*"* i) i+=1 11:50 for i in range (5,0,-1): for j in range (i,0,-1): print(j,end="") print()
@ghostdocter9006
@ghostdocter9006 25 күн бұрын
8:01 what is the need to increment the i?
@rameen584
@rameen584 25 күн бұрын
@ghostdocter9006 to print the value of "i" in new line
@Begins_with_coding
@Begins_with_coding 2 ай бұрын
Question no 7 answer r = int(input("Enter number of rows you want")) for i in range(r): for j in range(r-i-1): print(" ", end="") for j in range(i+1): print("*",end=" ") print() for i in range(0,r-1): for j in range (0,i+1): print(" ",end="") for j in range (0,r-i -1): print("*",end=" ") print()
@shristisingh6430
@shristisingh6430 14 күн бұрын
This video is really very helpful
@pradipdas3243
@pradipdas3243 2 ай бұрын
#Q6. Make the pattern # * # * * * # * * * * * # * * * * * * * # * * * * * * * * * x=int(input("Enter a number:")) for i in range(1,x+1): for j in range(x,i-1,-1): print(" ", end=" ") for k in range(1,2*i): print("*",end=" ") print() #Q7. Make the pattern # * # * * * # * * * * * # * * * * * * * # * * * * * * * * * # * * * * * * * # * * * * * # * * * # * x=int(input("Enter a number:")) for i in range(1,x+1): for j in range(x,i-1,-1): print(" ", end=" ") for k in range(1,2*i): print("*",end=" ") print() for i in range(1,x): print(" ",end=" ") for j in range(1,i*2+1): print("",end=" ") for k in range((x-i)*2-1,0,-1): print("*",end=" ") print()
@dipikarawal7766
@dipikarawal7766 19 күн бұрын
❤❤ thanks ❤😊
@GulfaamGaming
@GulfaamGaming 5 ай бұрын
Kal sy video dekh rha hon bhai youtube py aap ki video main mujy ye pattrens smj main aain hain Love From Pakistan ❤️❤️
@codingwithsagarcw
@codingwithsagarcw 5 ай бұрын
Thanks bhai
@GulfaamGaming
@GulfaamGaming 5 ай бұрын
@@codingwithsagarcw You Most wellcom and Thnkx for Reply❤️
@Begins_with_coding
@Begins_with_coding 2 ай бұрын
Question no 6 answer r = int(input("Enter number of rows you want")) for i in range(r): for j in range(r-i-1): print(" ", end="") for j in range(i+1): print("*",end=" ") print()
@prajwalparaskar7705
@prajwalparaskar7705 2 ай бұрын
wrong, because its not printing spaces
@makarsh29
@makarsh29 2 ай бұрын
"""print this pattern * * * * * * * * * * * * * * * * * * * * * * * * * """ for i in range(1,6): print("* "*5) it can be done in this way too.
@AbdulHaadi-h7v
@AbdulHaadi-h7v Ай бұрын
Wow best explanation
@KshitijJoshi-w6n
@KshitijJoshi-w6n 7 ай бұрын
Bhaiya app c# sikha sakte hai??😅
@OnlyBicepsLover
@OnlyBicepsLover 5 ай бұрын
Yrr bro hollow square wala code run nhi ho rha error hai as it is daal ke dekha
@canok7974
@canok7974 6 ай бұрын
thank you for this good video bro!
@SimiiChouhan
@SimiiChouhan 11 күн бұрын
Albhabet pattern. Bnao ...bhai ..
@ravishankar6700
@ravishankar6700 Ай бұрын
Thankyou bhayya😢
@priyanshujuyal9338
@priyanshujuyal9338 2 ай бұрын
Answer for question no. 2 ? for i in range(1,6): for j in range(1,6): if i == j: print(i * "*") And you can use the same code for 3 question . Range be like (5,0,-1) 🙂
@DakshMorya-d4q
@DakshMorya-d4q 2 ай бұрын
What is the Use of. ( end=)
@AyanRaj-u8t
@AyanRaj-u8t 9 күн бұрын
To break line
@yo.vikrant
@yo.vikrant 8 ай бұрын
How can I learn dsa with python
@CSWale1
@CSWale1 Ай бұрын
Which software is this sir?
@rayyanquadir3651
@rayyanquadir3651 26 күн бұрын
Visual code
@CSWale1
@CSWale1 9 күн бұрын
@@rayyanquadir3651 visual studio code? Ye wala
@TeChTrOvEoFfIcIel
@TeChTrOvEoFfIcIel 15 күн бұрын
Triangle ko bina nested loop se kaise banaye
@kavitanagpal8863
@kavitanagpal8863 6 ай бұрын
very nice video
@GameJourneyHub
@GameJourneyHub 8 ай бұрын
I love this python series.
@Onlystatus699
@Onlystatus699 7 ай бұрын
Pura course lae sir
@mahimarya9836
@mahimarya9836 7 ай бұрын
Bro django ka tutorial leke ao
@rohanverma-r8k
@rohanverma-r8k 3 ай бұрын
bro i write same code but all stars are printing in a line?
@Suryadarshanlive
@Suryadarshanlive 8 ай бұрын
♥️
@aseerahnaf7713
@aseerahnaf7713 7 ай бұрын
Sir please make video on .py(kivy) to .apk ❤❤😭😭
@SadafSaeed-mv1kv
@SadafSaeed-mv1kv 3 ай бұрын
Bhai ap ny logoun ki trhan apny marjan set ni kr lyna ka itna pay kro to seikhoun gah samjaoun gah ju pay ni kr saqty wo bhi seikh saqein life mai agy bhad sakein
@anushka101
@anushka101 Ай бұрын
Itna complicated text kyu krna
@Ranikilife
@Ranikilife Ай бұрын
Bruhh i coded the same but it all started writing in single line i guess it's not working....
@Ryuma96
@Ryuma96 13 күн бұрын
did u use the end parameter
@ITSPRONIBIR
@ITSPRONIBIR 7 ай бұрын
brooo make a life sim please 😂😮😢😊😂❤🎉
@successstudyroom
@successstudyroom 8 ай бұрын
Bhiya aap aapni video me nhi aarahe ho jab aap ko dekte hai tab samj aata hai
@Afan_Gaming786
@Afan_Gaming786 8 ай бұрын
Hello bro
@inclikes69
@inclikes69 17 күн бұрын
But using while loops you can print this in one loop one variable
@swaminibhor5075
@swaminibhor5075 4 ай бұрын
👌😊
@sndpsahu341
@sndpsahu341 17 күн бұрын
please don't use background sound i
@AsTushar_yt136
@AsTushar_yt136 8 ай бұрын
❤❤❤🎉
@AyanRaj-u8t
@AyanRaj-u8t 9 күн бұрын
3 dec 2024
Functions in Python | Complete Python Tutorial | Lecture #16
13:42
Coding With Sagar
Рет қаралды 13 М.
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 10 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 65 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 9 МЛН
Nested loops in Python are easy ➿
5:35
Bro Code
Рет қаралды 345 М.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 1 МЛН
For Loop in Python | Python Tutorials for Beginners #lec42
19:42
Jenny's Lectures CS IT
Рет қаралды 179 М.
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,5 МЛН
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
Nested Loop in Python - In Hindi
10:48
codeitup
Рет қаралды 159 М.
How many people are in the changing room? #devil #lilith #funny #shorts
00:39