How to solve Square and Hollow pattern programs in Python

  Рет қаралды 99,980

Simply Coding

Simply Coding

Күн бұрын

Пікірлер: 83
@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 6 ай бұрын
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.
@KhushiKumari-dd6sv
@KhushiKumari-dd6sv 2 жыл бұрын
actully after this now im cleared with my concepts...................thanku you so much litreally
@lucykeenan1768
@lucykeenan1768 Жыл бұрын
thank you I had a small programming problem your video helped out
@mithileshpandey1982
@mithileshpandey1982 2 жыл бұрын
thank you so much mam its really help me alot u r a great teacher😍😍
@yazdanialam8675
@yazdanialam8675 2 жыл бұрын
Thanks mam❤ outstanding explanation👍
@rudragaminghub
@rudragaminghub 2 жыл бұрын
Thank you mam When see your video all dought clear in nested loop. 👌👌
@indirarani1572
@indirarani1572 4 ай бұрын
Thank you madam, very good explanation and logic.
@arjuntanti4195
@arjuntanti4195 2 жыл бұрын
Mam else statement me print me " * " nhi hoga only " " space hoga maidam ji
@sairamexcellent825
@sairamexcellent825 2 жыл бұрын
At 11:33 in else statement we shoukd print space instead of *.
@sparky4695
@sparky4695 Ай бұрын
Yes
@Bhartidivedi
@Bhartidivedi 2 жыл бұрын
You r amazing Thnx for this wonderful explanation ❤
@lamjason53
@lamjason53 2 жыл бұрын
I ran the formula provided however the "j==" didn't work, no respective pattern could be generated
@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- Жыл бұрын
Yes bro
@ericmbk9949
@ericmbk9949 2 жыл бұрын
I love your lectures so much, but I don't even know your name. YOU ARE DOIN G A GREAT JOB.
@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.
@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.
@fuatcankaburga942
@fuatcankaburga942 Жыл бұрын
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?
@cheris5868
@cheris5868 3 жыл бұрын
thanks for making this video, it helps me alot]
@anushabotla8293
@anushabotla8293 2 жыл бұрын
Thankyou so much mam❤️do more videos on python
@tushar2939
@tushar2939 2 жыл бұрын
if row is row//2 then what will be the conditon to print left diagonal 8:06 ?
@gambler27788
@gambler27788 3 жыл бұрын
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 3 жыл бұрын
Full Marks for paying attention ! you are right, it should be space.
@hasnainmalik8982
@hasnainmalik8982 Жыл бұрын
Best explanation ever just one problem your voice is so down.
@pratikdongare4624
@pratikdongare4624 2 жыл бұрын
Thanks very much
@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
@legitimate_kangaroo
@legitimate_kangaroo 2 жыл бұрын
Very helpful
@newtechnologycentre8263
@newtechnologycentre8263 2 жыл бұрын
THANK YOU
@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.
@parampreetkaur5829
@parampreetkaur5829 2 жыл бұрын
please explain at 7:46 in more detail.
@battianjali8885
@battianjali8885 10 ай бұрын
Can you please post the video on hollow number please?
@shaikjasmine-vv5yk
@shaikjasmine-vv5yk Жыл бұрын
medum will you plz guide how to keep spaces between numbers instead of stars in stars,triangle,and pyramid pattrens..
@thanhgiangngoc8642
@thanhgiangngoc8642 2 жыл бұрын
Why do we have to use OR not AND, Madam ?
@rishavyadav3914
@rishavyadav3914 Жыл бұрын
There is a mistake at 11:38
@ShivaGarnepudi-v9z
@ShivaGarnepudi-v9z Жыл бұрын
How to avoid the spaces from starting and ending in output.
@Abhishekkushwaha144
@Abhishekkushwaha144 2 жыл бұрын
Where we can ask or send our doubt
@SimplyCoding
@SimplyCoding 2 жыл бұрын
you can write to us at info@simplycoding.in
@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
@Niki-ue6fk
@Niki-ue6fk 10 ай бұрын
# 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()
@_off_0_1_
@_off_0_1_ Жыл бұрын
17:28
@subbaramireddyyakkanti3806
@subbaramireddyyakkanti3806 3 жыл бұрын
Can you make complete python course like this .
@SimplyCoding
@SimplyCoding 3 жыл бұрын
We do have a Python Playlist which covers all of these videos - kzbin.info/aero/PLWWFf_h_MQRqgCdK-536AE7wy9GSO35cu
@tanushbhootra7046
@tanushbhootra7046 2 жыл бұрын
What we can do if we input even no
@kumar-ke3ww
@kumar-ke3ww 2 жыл бұрын
Mam can you explain the j==n-2 condition
@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
@soumendas5250
@soumendas5250 3 жыл бұрын
Good
@tharungk1118
@tharungk1118 3 жыл бұрын
Mam could u pls make a video on the different progarms based on strings list tuple and dictionary?
@tharungk1118
@tharungk1118 3 жыл бұрын
I need hots qns based on that..
@soumendas5250
@soumendas5250 3 жыл бұрын
Can you make a video on database and DBMS of class 7
@SimplyCoding
@SimplyCoding 3 жыл бұрын
We have this video for Database basics for class 7: kzbin.info/www/bejne/i6Sle2yiatmUoKM
@soumendas5250
@soumendas5250 3 жыл бұрын
@@SimplyCoding OK thanks after months I found your channel
@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
@Himanshu.Indori.07
@Himanshu.Indori.07 5 ай бұрын
pls solve you question in any complier
@bouftil28
@bouftil28 5 ай бұрын
perfect
@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
@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.
@vinaysunkara7714
@vinaysunkara7714 2 жыл бұрын
How to give different symbols in right angle triangle at three sides?(#,_,*)
@azvidvlog9661
@azvidvlog9661 2 жыл бұрын
but not working square pattern
@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
@koushik5298
@koushik5298 Жыл бұрын
Hello madam can you explain this please input = 4 + + + + # # # # #
@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()
@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
@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?
@diptodhar8653
@diptodhar8653 2 жыл бұрын
broke gang
@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.
Solve any number program in Python.
16:53
Simply Coding
Рет қаралды 23 М.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 1 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Solve any square or hollow pattern in Java
17:15
Simply Coding
Рет қаралды 166 М.
Python Pattern Program - Printing Stars in Heart Shape
14:30
Amulya's Academy
Рет қаралды 596 М.
How to solve any Star Pattern Program
18:47
Simply Coding
Рет қаралды 1,2 МЛН
Solve any character pattern in Python
23:58
Simply Coding
Рет қаралды 60 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
Python Pattern Program - Number Pattern (Printing Numbers in Pyramid Shape)
11:28
Python Special Programs - Pascal's Triangle
20:09
Neso Academy
Рет қаралды 16 М.
Solve any Number Pattern program in Python
20:14
Simply Coding
Рет қаралды 244 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН