How to solve Square and Hollow pattern programs in Python

  Рет қаралды 93,507

Simply Coding

Simply Coding

Күн бұрын

Пікірлер: 81
@midnajo437
@midnajo437 Жыл бұрын
This is the best video i ever seen on you tube about different patterns. Thanks a lot for sharing your knowledge.
@michaelkatete21
@michaelkatete21 3 ай бұрын
I agree with you 😊😊
@shantanug3785
@shantanug3785 2 жыл бұрын
Thanks for making these videos. It helps a lot. I am new to coding but from your videos it is getting a lot easier to learn python.
@lucykeenan1768
@lucykeenan1768 9 ай бұрын
thank you I had a small programming problem your video helped out
@KhushiKumari-dd6sv
@KhushiKumari-dd6sv 2 жыл бұрын
actully after this now im cleared with my concepts...................thanku you so much litreally
@mithileshpandey1982
@mithileshpandey1982 2 жыл бұрын
thank you so much mam its really help me alot u r a great teacher😍😍
@indirarani1572
@indirarani1572 Ай бұрын
Thank you madam, very good explanation and logic.
@rudragaminghub
@rudragaminghub 2 жыл бұрын
Thank you mam When see your video all dought clear in nested loop. 👌👌
@mohankadagala59
@mohankadagala59 2 жыл бұрын
what if the n=even number, in the case of star plus hollow pattern, and which row, and column does it take as a center one.
@arjuntanti4195
@arjuntanti4195 2 жыл бұрын
Mam else statement me print me " * " nhi hoga only " " space hoga maidam ji
@ericmbk9949
@ericmbk9949 2 жыл бұрын
I love your lectures so much, but I don't even know your name. YOU ARE DOIN G A GREAT JOB.
@yazdanialam8675
@yazdanialam8675 2 жыл бұрын
Thanks mam❤ outstanding explanation👍
@atoz8665
@atoz8665 2 жыл бұрын
Thank you so much mam. Thnks a lotttt. I learnt this topic from your video and I found one small mistake which you not edited mam (in hollow increasing and decreasing triangle in else statement your are given "*" mam. I think I'm correct, if not let me know mam) Once again thnk u very much mam.
@sairamexcellent825
@sairamexcellent825 2 жыл бұрын
At 11:33 in else statement we shoukd print space instead of *.
@hasnainmalik8982
@hasnainmalik8982 Жыл бұрын
Best explanation ever just one problem your voice is so down.
@Bhartidivedi
@Bhartidivedi 2 жыл бұрын
You r amazing Thnx for this wonderful explanation ❤
@fuatcankaburga942
@fuatcankaburga942 11 ай бұрын
Thank for the lecture, but I couldnt understand the "Hollow Decreasing Triangle in Python" and "Hollow Hill Pattern in Python". Are they correct or work actually?
@anushabotla8293
@anushabotla8293 2 жыл бұрын
Thankyou so much mam❤️do more videos on python
@lamjason53
@lamjason53 2 жыл бұрын
I ran the formula provided however the "j==" didn't work, no respective pattern could be generated
@cheris5868
@cheris5868 2 жыл бұрын
thanks for making this video, it helps me alot]
@kiran-hu2uf
@kiran-hu2uf 2 жыл бұрын
At 11:38 you are taking j == 0 in 2nd triangle why? Its actually i+j == n-1 but out put is wrong can u explain
@muthulakshmivimalaraja7204
@muthulakshmivimalaraja7204 2 жыл бұрын
Same doubt bro
@PrabaKaranB-
@PrabaKaranB- 11 ай бұрын
Yes bro
@Niki-ue6fk
@Niki-ue6fk 7 ай бұрын
# i think a little mistake in hallow increasing triangle. This is her code only, i hv just corrected the else part . edit : time --> 13.30 n = 5 for i in range(n): for j in range(i+1): if (i == n-1 or j == 0 or j == i): print("*",end = "") else: print(" ",end = "") print()
@battianjali8885
@battianjali8885 7 ай бұрын
Can you please post the video on hollow number please?
@parameshreddy95
@parameshreddy95 Жыл бұрын
there are many hollow patterns which we can't able to solve with this logic......no help form their website....i think this logic work with these examples. Kindly expecting reply from SIMPLY CODING team. for example if we want number pyramid with in 5x5 pattern... it will not work
@mouni-o-
@mouni-o- 2 жыл бұрын
Mam how to print like this in hollow abacdefg....... hollow diamond pattern?.
@SimplyCoding
@SimplyCoding 2 жыл бұрын
Pls see the link of how to convert any * pattern to character pattern. You can just apply the same logic here - kzbin.info/www/bejne/q3ukXnqMjLOdmcU
@shaikjasmine-vv5yk
@shaikjasmine-vv5yk Жыл бұрын
medum will you plz guide how to keep spaces between numbers instead of stars in stars,triangle,and pyramid pattrens..
@pbkumar2554
@pbkumar2554 2 жыл бұрын
Madam how to print j=0 in that we want to print "/" symbol and j=i we want to print "|" symbol and i=n-1 we want to print "_" symbol madam how to print madam and how to use this the code madam
@tushar2939
@tushar2939 2 жыл бұрын
if row is row//2 then what will be the conditon to print left diagonal 8:06 ?
@legitimate_kangaroo
@legitimate_kangaroo 2 жыл бұрын
Very helpful
@pratikdongare4624
@pratikdongare4624 2 жыл бұрын
Thanks very much
@thanhgiangngoc8642
@thanhgiangngoc8642 2 жыл бұрын
Why do we have to use OR not AND, Madam ?
@ShivaGarnepudi-v9z
@ShivaGarnepudi-v9z Жыл бұрын
How to avoid the spaces from starting and ending in output.
@tharungk1118
@tharungk1118 2 жыл бұрын
Mam could u pls make a video on the different progarms based on strings list tuple and dictionary?
@tharungk1118
@tharungk1118 2 жыл бұрын
I need hots qns based on that..
@gambler27788
@gambler27788 2 жыл бұрын
You did a mistake at 11:38 .There should not b star(*) in second inner loop .There should be space in order to get hollow shape.
@SimplyCoding
@SimplyCoding 2 жыл бұрын
Full Marks for paying attention ! you are right, it should be space.
@pbkumar2554
@pbkumar2554 2 жыл бұрын
Madam we want to print different symbols in hallow pattern madam in three different symbols madam madam please tell me the how to write a code madam
@kumar-ke3ww
@kumar-ke3ww 2 жыл бұрын
Mam can you explain the j==n-2 condition
@parampreetkaur5829
@parampreetkaur5829 2 жыл бұрын
please explain at 7:46 in more detail.
@subbaramireddyyakkanti3806
@subbaramireddyyakkanti3806 2 жыл бұрын
Can you make complete python course like this .
@SimplyCoding
@SimplyCoding 2 жыл бұрын
We do have a Python Playlist which covers all of these videos - kzbin.info/aero/PLWWFf_h_MQRqgCdK-536AE7wy9GSO35cu
@deva3541
@deva3541 Жыл бұрын
10:40 if we give n=6 I'm not getting diagonal output
@SimplyCoding
@SimplyCoding Жыл бұрын
In odd number pattern you have a proper diagonal, not in even nos.
@tanushbhootra7046
@tanushbhootra7046 Жыл бұрын
What we can do if we input even no
@santhoshiranisalkuti9504
@santhoshiranisalkuti9504 Жыл бұрын
Hii unable to run code as expected once check this whole video and correct because it is not executing as expected please it will help a lot of users
@SimplyCoding
@SimplyCoding Жыл бұрын
You can send your code to us at info@simplycoding.in. We will help you fix it.
@Abhishekkushwaha144
@Abhishekkushwaha144 2 жыл бұрын
Where we can ask or send our doubt
@SimplyCoding
@SimplyCoding 2 жыл бұрын
you can write to us at info@simplycoding.in
@newtechnologycentre8263
@newtechnologycentre8263 2 жыл бұрын
THANK YOU
@rishavyadav3914
@rishavyadav3914 Жыл бұрын
There is a mistake at 11:38
@Himanshu.Indori.07
@Himanshu.Indori.07 2 ай бұрын
pls solve you question in any complier
@saivaddi7549
@saivaddi7549 2 жыл бұрын
For mid row and mid column if we write if (i==n/2) or (j==n/2). what will happen?
@harishdaggubati9233
@harishdaggubati9233 2 жыл бұрын
It will give float value
@soumendas5250
@soumendas5250 2 жыл бұрын
Can you make a video on database and DBMS of class 7
@SimplyCoding
@SimplyCoding 2 жыл бұрын
We have this video for Database basics for class 7: kzbin.info/www/bejne/i6Sle2yiatmUoKM
@soumendas5250
@soumendas5250 2 жыл бұрын
@@SimplyCoding OK thanks after months I found your channel
@prakharsaxena158
@prakharsaxena158 Жыл бұрын
You haven't defined the "i" variable in whole code
@minervamcgonagall8250
@minervamcgonagall8250 Жыл бұрын
the variable is given the values depending upon the range mentioned
@koushik5298
@koushik5298 Жыл бұрын
Hello madam can you explain this please input = 4 + + + + # # # # #
@soumendas5250
@soumendas5250 2 жыл бұрын
Good
@vinaysunkara7714
@vinaysunkara7714 2 жыл бұрын
How to give different symbols in right angle triangle at three sides?(#,_,*)
@azvidvlog9661
@azvidvlog9661 2 жыл бұрын
but not working square pattern
@abhaykanwasi881
@abhaykanwasi881 2 жыл бұрын
Hollow square pattern solution is wrong it will print a square star pattern not hollow pattern. Program :- n = 5 for i in range(n): for j in range(n): if i == 0 or j == 0 or i==n-1 or j == n-1: print('*',end=" ") else: print("*",end=" ") print() Output : - * * * * * * * * * * * * * * * * * * * * * * * * * Actual Solution : Problem in else block of code.. n = 5 for i in range(n): for j in range(n): if i == 0 or j == 0 or i==n-1 or j == n-1: print('*',end=" ") else: print(" ",end=" ") print()
@PBkumar-ml3hx
@PBkumar-ml3hx 2 жыл бұрын
madam could you please tell me the patterns using different symbols example "_","|","/" print right angle triangle videos madam how to write a code madam madam how to print hallow space using the above symbols please tell madam and once doing that type of videos madam
@ManoharKumar-nr8kb
@ManoharKumar-nr8kb 2 жыл бұрын
#nxtwave
@brosquadyt4391
@brosquadyt4391 2 жыл бұрын
😄😄😄same here.. Brother I'm stuck at this.. Plz do share any videos or solutions for these type..
@brosquadyt4391
@brosquadyt4391 2 жыл бұрын
@karima u ccbpian??
@brosquadyt4391
@brosquadyt4391 2 жыл бұрын
@karima your linkedin id plz.. Did u solve these?
@bouftil28
@bouftil28 2 ай бұрын
perfect
@_off_0_1_
@_off_0_1_ Жыл бұрын
17:28
@gadgetworld987
@gadgetworld987 2 жыл бұрын
Ek bhi execute nahi ho raha sahi se daimond shape wala
@SimplyCoding
@SimplyCoding 2 жыл бұрын
Hi you can send you code to info@simplycoding.in and we can help correct it
@naramsettimurali8620
@naramsettimurali8620 2 жыл бұрын
Your code is totally wrong not come output properly
@SimplyCoding
@SimplyCoding 2 жыл бұрын
You can send your code to info@simplycoding.in so that we can help you correct it
@crazyshrt4459
@crazyshrt4459 2 жыл бұрын
I also face this problem but you have to write print statement for correct loop.
@diptodhar8653
@diptodhar8653 2 жыл бұрын
broke gang
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 988 М.
Solve any number program in Python.
16:53
Simply Coding
Рет қаралды 21 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН
"كان عليّ أكل بقايا الطعام قبل هذا اليوم 🥹"
00:40
Holly Wolly Bow Arabic
Рет қаралды 14 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Solve any square or hollow pattern in Java
17:15
Simply Coding
Рет қаралды 158 М.
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,4 МЛН
Solve any Series Program in Python
20:15
Simply Coding
Рет қаралды 43 М.
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 1,3 МЛН
Solve any Number Pattern program in Python
20:14
Simply Coding
Рет қаралды 223 М.
Pygame in 90 Minutes - For Beginners
1:35:22
Tech With Tim
Рет қаралды 1,1 МЛН
Python Pattern Program - Printing Stars in Heart Shape
14:30
Amulya's Academy
Рет қаралды 593 М.
How to solve any Star Pattern Program
18:47
Simply Coding
Рет қаралды 1,2 МЛН
Solve any character pattern in Python
23:58
Simply Coding
Рет қаралды 55 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26