How to solve Square and Hollow pattern programs in Python

  Рет қаралды 84,752

Simply Coding

Simply Coding

Күн бұрын

This video explains how to write various Square and Hollow pattern programs in Python
00:00 - Solve Square and Hollow pattern programs in Python
00:21 - Printing Basics
02:04 - Square Pattern in Python
06:05 - Indexes in Python
08:14 - Parallel Bar Pattern in Python
09:47 - Plus Pattern in Python
10:16 - Cross Pattern in Python
10:41 - Hollow Square Pattern in Python
11:39 - Hollow Triangle Pattern in Python
12:13 - Hollow Increasing Triangle in Python
13:32 - Hollow Decreasing Triangle in Python
13:35 - Hollow Hill Pattern in Python
15:51 - Hollow Diamond Pattern in Python

Пікірлер: 80
@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.
@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 15 күн бұрын
I agree with you 😊😊
@KhushiKumari-dd6sv
@KhushiKumari-dd6sv 2 жыл бұрын
actully after this now im cleared with my concepts...................thanku you so much litreally
@lucykeenan1768
@lucykeenan1768 6 ай бұрын
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😍😍
@rudragaminghub
@rudragaminghub 2 жыл бұрын
Thank you mam When see your video all dought clear in nested loop. 👌👌
@yazdanialam8675
@yazdanialam8675 2 жыл бұрын
Thanks mam❤ outstanding explanation👍
@Bhartidivedi
@Bhartidivedi 2 жыл бұрын
You r amazing Thnx for this wonderful explanation ❤
@mohankadagala59
@mohankadagala59 Жыл бұрын
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.
@ericmbk9949
@ericmbk9949 2 жыл бұрын
I love your lectures so much, but I don't even know your name. YOU ARE DOIN G A GREAT JOB.
@cheris5868
@cheris5868 2 жыл бұрын
thanks for making this video, it helps me alot]
@tushar2939
@tushar2939 Жыл бұрын
if row is row//2 then what will be the conditon to print left diagonal 8:06 ?
@anushabotla8293
@anushabotla8293 2 жыл бұрын
Thankyou so much mam❤️do more videos on python
@lamjason53
@lamjason53 Жыл бұрын
I ran the formula provided however the "j==" didn't work, no respective pattern could be generated
@pratikdongare4624
@pratikdongare4624 2 жыл бұрын
Thanks very much
@legitimate_kangaroo
@legitimate_kangaroo Жыл бұрын
Very helpful
@atoz8665
@atoz8665 Жыл бұрын
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.
@fuatcankaburga942
@fuatcankaburga942 8 ай бұрын
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?
@shaikjasmine-vv5yk
@shaikjasmine-vv5yk Жыл бұрын
medum will you plz guide how to keep spaces between numbers instead of stars in stars,triangle,and pyramid pattrens..
@newtechnologycentre8263
@newtechnologycentre8263 Жыл бұрын
THANK YOU
@sairamexcellent825
@sairamexcellent825 Жыл бұрын
At 11:33 in else statement we shoukd print space instead of *.
@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 - kzfaq.info/get/bejne/q7BxYKqHvLTOk5c.html
@kumar-ke3ww
@kumar-ke3ww 2 жыл бұрын
Mam can you explain the j==n-2 condition
@arjuntanti4195
@arjuntanti4195 Жыл бұрын
Mam else statement me print me " * " nhi hoga only " " space hoga maidam ji
@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
@thanhgiangngoc8642
@thanhgiangngoc8642 2 жыл бұрын
Why do we have to use OR not AND, Madam ?
@vinaysunkara7714
@vinaysunkara7714 2 жыл бұрын
How to give different symbols in right angle triangle at three sides?(#,_,*)
@user-pq7tu6sk1b
@user-pq7tu6sk1b Жыл бұрын
How to avoid the spaces from starting and ending in output.
@Niki-ue6fk
@Niki-ue6fk 4 ай бұрын
# 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()
@hasnainmalik8982
@hasnainmalik8982 Жыл бұрын
Best explanation ever just one problem your voice is so down.
@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
@parampreetkaur5829
@parampreetkaur5829 2 жыл бұрын
please explain at 7:46 in more detail.
@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
@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..
@tanushbhootra7046
@tanushbhootra7046 Жыл бұрын
What we can do if we input even no
@kiran-hu2uf
@kiran-hu2uf Жыл бұрын
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 Жыл бұрын
Same doubt bro
@PrabaKaranB-
@PrabaKaranB- 8 ай бұрын
Yes bro
@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 - kzfaq.info/sun/PLWWFf_h_MQRqgCdK-536AE7wy9GSO35cu
@battianjali8885
@battianjali8885 4 ай бұрын
Can you please post the video on hollow number please?
@soumendas5250
@soumendas5250 2 жыл бұрын
Good
@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
@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.
@Abhishekkushwaha144
@Abhishekkushwaha144 2 жыл бұрын
Where we can ask or send our doubt
@SimplyCoding
@SimplyCoding 2 жыл бұрын
you can write to us at info@simplycoding.in
@ooo3A119
@ooo3A119 7 ай бұрын
What if we have to print changing no😢
@Unknown_das
@Unknown_das 12 күн бұрын
Did you get answer or i tell to your
@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: kzfaq.info/get/bejne/i9lyfZydmtrFmnU.html
@soumendas5250
@soumendas5250 2 жыл бұрын
@@SimplyCoding OK thanks after months I found your channel
@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.
@azvidvlog9661
@azvidvlog9661 Жыл бұрын
but not working square pattern
@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.
@koushik5298
@koushik5298 Жыл бұрын
Hello madam can you explain this please input = 4 + + + + # # # # #
@rishavyadav3914
@rishavyadav3914 Жыл бұрын
There is a mistake at 11:38
@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?
@prakharsaxena158
@prakharsaxena158 Жыл бұрын
You haven't defined the "i" variable in whole code
@minervamcgonagall8250
@minervamcgonagall8250 11 ай бұрын
the variable is given the values depending upon the range mentioned
@_off_0_1_
@_off_0_1_ Жыл бұрын
17:28
@gadgetworld987
@gadgetworld987 Жыл бұрын
Ek bhi execute nahi ho raha sahi se daimond shape wala
@SimplyCoding
@SimplyCoding Жыл бұрын
Hi you can send you code to info@simplycoding.in and we can help correct it
@abhaykanwasi881
@abhaykanwasi881 Жыл бұрын
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()
@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 Жыл бұрын
I also face this problem but you have to write print statement for correct loop.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 879 М.
Solve any square or hollow pattern in Java
17:15
Simply Coding
Рет қаралды 146 М.
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 45 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 105 МЛН
Этот Пёс Кое-Что Наделал 😳
00:31
Глеб Рандалайнен
Рет қаралды 4,5 МЛН
Pascal's Triangle | Python Pattern Programs
21:52
Amulya's Academy
Рет қаралды 88 М.
Solve any Series Program in Python
20:15
Simply Coding
Рет қаралды 39 М.
Python Pattern Program - Printing Stars in Heart Shape
14:30
Amulya's Academy
Рет қаралды 589 М.
Solve any Number Pattern program in Python
20:14
Simply Coding
Рет қаралды 199 М.
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,3 МЛН
5 Math Skills Every Programmer Needs
9:08
Sahil & Sarra
Рет қаралды 1 МЛН
SQLite Databases With Python - Full Course
1:29:37
freeCodeCamp.org
Рет қаралды 656 М.
Solve any number program in Python.
16:53
Simply Coding
Рет қаралды 18 М.
Learn Python With This ONE Project!
55:04
Tech With Tim
Рет қаралды 1,7 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37