Solve any Star Pattern program in Python

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024

Комментарии • 612

  • @gufran_nabeel
    @gufran_nabeel 2 года назад +300

    Elegant explanation! Seriously this is only video which explains the logic behind these programs. Thanks a ton.😇

    • @aliciajohn5528
      @aliciajohn5528 2 года назад +9

      💯💯

    • @directorgopal194
      @directorgopal194 11 дней назад

      ​@@aliciajohn5528run the code written in this video for right sided triangle you get a piramid 😅

  • @vegettoblue5279
    @vegettoblue5279 Год назад +95

    teaching the thought process behind the problem is far better than solving many number of problems.....thank you so much mam.

  • @MianMithu
    @MianMithu 2 года назад +50

    No other video can explain nested for loops in such a lovely way. You made my concepts totally clear and i was seriously wondering for it in this middle of night.
    Bundle of Thanks 💞👍 🙏

  • @techpiano7010
    @techpiano7010 6 месяцев назад +8

    I am saying seriously your channel deserves a million subscribers.The animations and the explanation is just perfect.

  • @souvikdey7131
    @souvikdey7131 Год назад +9

    Excellent! I don't usually give comments on RUclips videos but this time I couldn't resist. You have taught me something I'll never forget. Now it makes me feel I know a bit more than others. Thank you.

  • @coc0228
    @coc0228 2 года назад +55

    One of best tutorials i have ever watched 👏🏻👏🏻👏🏻 best 19 mins I spent ever on youtube thank you for making my concept clear as a whistle 🙏🏻
    If the teacher is good the learning becomes fun

  • @dimplekumargupta5467
    @dimplekumargupta5467 2 года назад +21

    You helped me to build logic in pattern printing. Kudos 👌 to you.

  • @sahiljamwal1312
    @sahiljamwal1312 Год назад +5

    Mam , uh are real gem .I was struggling in this from the last 4-5 days but you make very easy to understand . I literally watch lots of videos and i tried to understand this concept but i didnt . But now i can do any type of python printing question because of you . Lots of respect to uh(Hands down 😍)

  • @samyakshukla8567
    @samyakshukla8567 11 месяцев назад +16

    Your explanation was extremely helpful and easy to understand. I was struggling with the concept of nested loops, but your clear and concise explanation made it easy for me to comprehend. Your expertise in python programming is undoubtedly impressive, and your willingness to share your knowledge is truly commendable. Thank you for taking the time to provide such a great explanation I HAVE AN EXAM TOMORROW

  • @jiteshkumar208
    @jiteshkumar208 Год назад +5

    I forgot how logic would work in nested loops. Then, I found this gem. Thanks!

  • @AITech110
    @AITech110 9 месяцев назад +1

    It's the most comprehensive video I have ever watched on Patterns. It does not only provide code for how to draw different Patterns but also Provide critical Knowledge to draw creative Pattern.
    Love from Pakistan

  • @code-heads
    @code-heads Год назад +6

    Exceptional explanations.🥺
    Have been struggling with patterns since the time I learnt my first programming language, 2 years back. This is the best and most clear video.
    Thank you so much for this video.

  • @deepikamanunarayan9644
    @deepikamanunarayan9644 2 года назад +21

    Thanks a lot Ma'am, i can't believe that i am able to code after seeing couple of the patterns at the beginning of the video...made this concept very easy and understandable...superb video :)

  • @vibhutinarayanmishra7309
    @vibhutinarayanmishra7309 2 года назад +13

    n=5
    for i in range (n):
    for j in range (n-i):
    print(' ', end=' ')
    for j in range (i+1):
    print('*', end=' ')

    print()
    this code in work for me

    • @abdellahelasri7783
      @abdellahelasri7783 2 года назад

      No, its false bro the 3rd line is not correct ,look, we have in the first line i=0 and n=5 so n-i means you will print 5 spaces then one * ,I mean in the first line we need just 4 spaces + '*' and same for the 2nd: 3 spaces + 2 '*' ..... : for j in range(i,n-1) is true! thank you.

    • @Nothing-78646
      @Nothing-78646 2 месяца назад

      can you explain me this code in simple language please

  • @DishandDestinationwithQuotes
    @DishandDestinationwithQuotes 2 года назад +12

    Can you please check the right sided triangle with decreasing spaces. Not correct I think ...
    Though it is helpful but it's not right sided.

  • @deanryo7734
    @deanryo7734 3 дня назад +1

    Your teaching method is lit💫💫 no one could make me understand this concept until i saw your video

  • @abdulwajid6725
    @abdulwajid6725 2 года назад +10

    wow... loved it.. hoped our university teacher taught this way

  • @jaypatel-lyf
    @jaypatel-lyf Год назад +10

    Your way of teaching is mind blowing… keep it up… U r the best teacher 🎉

  • @kolliakhil76
    @kolliakhil76 Месяц назад +2

    I think For decreasing triangle pattern we have to take range for inner loop as range(i, n-1) the code would be
    n=5;
    for i in range(n)
    for j in range(i, n-1)
    print('*', end=' ')
    print()

  • @Misha-ym9jq
    @Misha-ym9jq Год назад +3

    Amazing Explanation..very few teachers have the right words to explain programming... you did it perfectly, thanks alot.

  • @code_genius2625
    @code_genius2625 8 дней назад

    I have seen so many videos for clear explanation but they can't, but you are awesome reward from 😍😘 take it.

  • @solapeolojede
    @solapeolojede 13 дней назад

    You made pattern program in python so simple and understandable. Thank you.

  • @ayushupadhyaypy
    @ayushupadhyaypy Год назад +1

    Mam your art of teaching is brilliant......
    So easy to understand....
    And never get any quarry...
    To full watch the video...

  • @krishyoga838
    @krishyoga838 2 года назад +5

    Mam your "right sided traingle" program has some error.
    Where nested 1st for loop range will be (i,n-1)

  • @deepikasrinivasas3333
    @deepikasrinivasas3333 Год назад +3

    i struggled a lot to understand this concept .u made it understand soooo easily ..Thanks a ton 🙏

  • @prabhanaithani5959
    @prabhanaithani5959 Год назад

    not even completed watching half of this video for first time, i just clicked the subscribe button...... thanks to god and you that i got this channel on right time............. you nailed it... keep it up
    🥰🥰🥰🥰😇😇😇

  • @shaikayesha2600
    @shaikayesha2600 Год назад +1

    Thank you so much....this is the best video on pattern problems....since my PUC i haven't understood patterns properly....I was just mugging them up....no teacher in this world explained me this tricks....I wish I would have seen this before 5 years....anyways once again thank you so much for this incredible explanation....I just loved it

  • @sudeeptisharma9712
    @sudeeptisharma9712 Год назад +1

    Seriously ,the best explanation for building a rigid confidence in for loops programs'

  • @technolysys1998
    @technolysys1998 2 года назад +3

    I havent had such clear and crystal concept in loops until this video: Hats of !!

  • @anjanprasad6224
    @anjanprasad6224 2 года назад +4

    crazyyy..., I was struggling to learn these kind off patterns .. THANK YOU>>>>>>

  • @Chris-vt6nl
    @Chris-vt6nl 6 месяцев назад

    My age is 38 I still remember my school and college teachers who were absolutely miserable with their teaching unfortunately not just that they personally even used to humiliate and demotivate saying I'll never be able to learn coding so should try changing my course of education to some non technical stream😡I had to go through this throughout my academics resulting in ultimately performing poorly with average grades. It is good to see a great teacher like you who clearly explains coding step by step slowly so that even a person who's not good academically struggles to understand coding could still learn without struggling a lot😊 wish you were my teacher in my school or college

  • @aditya-garg
    @aditya-garg Год назад +3

    Amazing content,taught in a very digestible way.
    @9:45 for decreasing triangle one may also use
    for j in range(n-i):
    Also,@11:34, I would like to mention that This increasing pattern of "stars" is shifted automatically due to first triangle of "spaces".
    #15:42, I ended up modifying the third nested loop to range(i) to get same result.

  • @ashishaggarwal7510
    @ashishaggarwal7510 Год назад +2

    I have watched many videos but I was not able to do it but by seeing this I learnt the concept Behind it.
    Really thank you for such videos 🥰🥰

  • @nomdeplume6594
    @nomdeplume6594 2 года назад +4

    Easily the best video ive seen to explain nested for loops...thank you!

  • @WHITEDEVIL-nu5og
    @WHITEDEVIL-nu5og 2 года назад +3

    you give the understanding of GOD level. i already that how to know triengle with only one loop but with two loop this is best video i ever see.
    also your voice and accent was so good in the video. i love your voice
    thank you ma'am
    GOD bless you

  • @nitinpatle6291
    @nitinpatle6291 2 года назад +4

    You explain these patterns logic in a very simple and efficient manner.
    Thank you so much!!!

  • @mirzamuneebbaig15
    @mirzamuneebbaig15 8 месяцев назад +1

    Very helpful video and have given the explanation in simple and easy way

  • @brandonnoronha5535
    @brandonnoronha5535 3 месяца назад

    This is the best explanation I ever saw for creating patterns 😃 on RUclips ✨. Now I'll be able to solve any pattern very easily 👍. Thank you very much👍✨

  • @juveriashaik7363
    @juveriashaik7363 2 года назад +4

    damn..ukw ? I've been struggling with this for sometime now 😭
    So thanks for making this easy 💗

  • @beautifulDay2005
    @beautifulDay2005 7 месяцев назад +1

    best video ever !!! I was hoping to find a video like this..easy to understand using simple logic. Thankyou!!!!

  • @vyshnavks6505
    @vyshnavks6505 10 месяцев назад

    ma'am for decreasing triangle we can also write like this right
    n=5
    for i in range(n):
    for j in range(n-i):
    print('*',end=' ')
    print()
    ma'am your explaining level is....great anyone can understand easily...thank you

  • @RajeshKumar-dq8qr
    @RajeshKumar-dq8qr Год назад +1

    Excellent teaching. Even teacher does not teach like you. 👏👏👏

  • @ayushdas6459
    @ayushdas6459 2 года назад +3

    explanation is very simple and understandable .. thanx a lot ☺

  • @simranpatel1332
    @simranpatel1332 Год назад

    Thanks ma'am for teaching this soo beautifully
    #this is a butterfly pattern
    n=5
    for i in range(n-1):
    for j in range(i+1):
    print("*",end=" ")
    for j in range(i,n-1):
    print(" ",end=" ")
    for j in range(i,n-1):
    print(" ",end=" ")
    for j in range(i+1):
    print("*",end=" ")
    print()
    for i in range(n):
    for j in range(i,n):
    print("*",end=" ")
    for j in range(i):
    print(" ",end=" ")
    for j in range(i):
    print(" ",end=" ")
    for j in range(i,n):
    print("*",end=" ")
    print()

  • @nikhilreddy4582
    @nikhilreddy4582 Год назад

    after going through lots of videos, Now I felt confident enough to solve any pattern programs, the best video ever thanks a lot......

  • @bythegodgrace5691
    @bythegodgrace5691 Год назад +1

    It was very useful to me and your explanation is very good mam

  • @mikyasbaheru
    @mikyasbaheru 19 дней назад

    I feel like i need this indian courses. thanks a bunch mam you did a great job making this easy to understand.

    • @directorgopal194
      @directorgopal194 11 дней назад

      The right side triangle is wrong bro,

    • @SimplyCoding
      @SimplyCoding  8 дней назад

      Pls paste your program over here, we can help you find the mistake you have done in copying from video

  • @PhysicsIsReallyBeautiful
    @PhysicsIsReallyBeautiful Год назад +1

    Hey, there is an easier code to do for the right sided triangle.
    n = num
    for i in range(n+1):
    print (" "*(n-i),"*"*i)
    Thank You for the explanation.

  • @patrickfouhy9102
    @patrickfouhy9102 2 года назад +7

    THANK YOU!!! I was having a hard time figuring out the order of operations, and how the nested loops reach with one another and this is a fantastic explanation.

  • @hiteshp2477
    @hiteshp2477 Год назад

    SUPERB explanation. Even school teacher couldn't make me understand. Thanks a lot

  • @JPASSaiRamPMPC
    @JPASSaiRamPMPC 2 года назад +6

    Very thankful to mam.Really amazing presentation and explanation skills in the slides for better understanding to the students
    .. 🙏🙏🙏

  • @kopallikarthik3581
    @kopallikarthik3581 Год назад +2

    The logic is good but it is not applicable for equilateral triangle because in first we need to get 1 star anda second line we should get 2 and in 3rd line we should get 3 stars but in the given code gives 1 line has 1 star and 2nd line direct to 3 star . The shape is correct but we need to get 1 star in first line and 2 star s in second line once check it

    • @absaarjoravar7039
      @absaarjoravar7039 15 дней назад

      Yes... U r rgt...
      I guess... They missed this point...

  • @deepanshurathore571
    @deepanshurathore571 9 месяцев назад +1

    Best video i have ever found on printing patterns in python, thanks alot!!

  • @Gaurav_Dhamija
    @Gaurav_Dhamija Год назад +1

    what a way of explaining these patterns , superb , m so happy after watching this .

  • @garimabatra2658
    @garimabatra2658 28 дней назад

    wow wow wow....u steal the show...what an explanation...Thanks tons

  • @dharmaraju6429
    @dharmaraju6429 Год назад +2

    N=5
    for i in range(n) :
    for j in range(i, n):
    Print(' ', end=' ')
    for j in range(I+1):
    print('$', end=' ')
    print()
    Not getting proper Right sided triangle Please let me know mam

  • @deadperson14
    @deadperson14 8 месяцев назад +1

    Really, it is too much helpful video on RUclips.❤

  • @DeepakSharma-tt5ry
    @DeepakSharma-tt5ry 10 месяцев назад

    I am very glad that such type teachers are still alive , thank you very much mam.

  • @RohithS-ig4hl
    @RohithS-ig4hl Год назад +2

    Thank you so much simply coding. you made pattern problems look so easier! what a simple and concise way of teaching.Really appreciate this effort!

  • @naveenkrishna4292
    @naveenkrishna4292 2 месяца назад

    Mam seriously now I'm cleared with this concept , i have searched and seen my videos related into this concepts wow its simply awesome i was recommended your videos to my known persons as well please keep doing 😍

  • @lafkiri
    @lafkiri 2 года назад +6

    This is amazing video I watched today, thanks a lot for the efforts, this is the easiest explanation ever :)

  • @johnwesleysmith1440
    @johnwesleysmith1440 14 дней назад +1

    It's very useful Mam. Thanks

  • @prince0881
    @prince0881 2 года назад

    Mam one word for u is amazing,this level of clear explanation I hardly seen in RUclips

  • @rohitjain2663
    @rohitjain2663 6 месяцев назад

    So nicely explained with simple logic, Now I don't need to see any other video for patterns thank you so much.

  • @abcdabcd8605
    @abcdabcd8605 Месяц назад

    This is the best video I've seen yet on Patterns !!!! Definitely do watch this!

  • @nidhirani7007
    @nidhirani7007 Год назад

    I am crying in happiness and also I'm regrating very much that why I had found ur vdos this late...u r amazing teacher a huge respect and thanks to u😭😭❣️❣️🙏🙏

  • @neerajjha2447
    @neerajjha2447 20 дней назад +1

    Great way of explanation ❤

  • @himanshuyadav4206
    @himanshuyadav4206 Месяц назад +1

    What an Amazing Explanaation...
    .....Thanks alot.....have a good day....

  • @youtubeb9552
    @youtubeb9552 18 дней назад

    Wow what a beauriful sound and explanation with a flow of ideas in a manner that resemble as if it is a mind map helps students to understand better.

  • @hepsibhanandas1078
    @hepsibhanandas1078 Год назад +1

    n=int(input())
    for i in range(0,n):
    print("* "*n)
    instead of i, j loops , i loop will print the (rows,columns)

  • @yeabsirafikre6636
    @yeabsirafikre6636 11 месяцев назад +1

    I find your videos most helpful. Good job

  • @itsarsh4421
    @itsarsh4421 2 года назад +7

    Thanks a lot mam !! This is the easiest explanation ever : )

  • @ghanishah
    @ghanishah 2 года назад +1

    Wow what an amazing talent i just discovered..!!!
    Lots of respect !!!

  • @krissie115
    @krissie115 2 года назад +2

    This tutorial was verry helpful thanks a lot now I understand the concept.

  • @user-he8sq2lo2q
    @user-he8sq2lo2q 26 дней назад

    wonderful explanation. I appreciate the hard work behind it which made it so simple to understand the logic

  • @kom_senapati
    @kom_senapati 2 года назад +3

    This is nice, but it employs nested loops, which can be avoided by applying string replication.

  • @shailejagundu2017
    @shailejagundu2017 2 года назад +3

    she explained the whole steps so perfectly that even a person who don't have basic knowledge about it will understand it easily.
    Thank you for making it so easy ^_^ madam.

  • @WorldWithoutHate
    @WorldWithoutHate Год назад +1

    Actually the hill pattern can be easily created another way :
    row=5
    for i in range(row):
    for q in reversed(range(row-i)):
    print ("", end=' ')
    for p in range(i+1):
    print("*", end=' ')
    print()

    • @Nothing-78646
      @Nothing-78646 2 месяца назад

      can you please explain me this code that how they are in such that sequence

  • @midnajo437
    @midnajo437 Год назад +1

    Thanks a lot for posting such a informative video about pattern. You explain each step very clearly. I learned a lot to write a code for any pattern.

  • @varshithabandi6553
    @varshithabandi6553 12 дней назад

    Thankyou so much madam..
    You made us understand this concept very easily❤

  • @utkarshpandey491
    @utkarshpandey491 2 года назад +3

    Thank you very much, for solving my pattern problem !! 🙂

  • @chintalanaresh7105
    @chintalanaresh7105 10 месяцев назад

    i was feel difficult for this topic for so many days . but it is simply awsome.tq mam.it was very useful

  • @kavinkishorex-bi9477
    @kavinkishorex-bi9477 Год назад

    amazing. Now i am starting to answer my teacher's tricky questions. Thanks a lot.

  • @sagarsjdjfn
    @sagarsjdjfn Год назад

    Amazing. Thank a ton. I have checked out so many videos and sites. But you cleared the concept of space and # in one line. Best part was increase and decrease logic in one line. Note to all - Save this video in your playlist.

  • @chandbasha1920
    @chandbasha1920 29 дней назад

    Thank you very much 👏👏for explaining this in in-depth...

  • @BhoomsSaxena
    @BhoomsSaxena Месяц назад +1

    Now i got to know how to print patterns after 1.5 years

  • @User45467
    @User45467 9 месяцев назад +1

    Nice video 😊 thank you

  • @iqbal682
    @iqbal682 Год назад

    This channel deserves to be subscribed to. Really appreciate this video

  • @TROLLSGANG
    @TROLLSGANG Год назад

    saw many vedious before and googled many things to get the perfect logic haven't found anywhere . finally got it in "simple coding". heartfully thankyou.....................................

  • @Yohasree
    @Yohasree Месяц назад

    amazing content !! actually , the pattern problem was very tough for me ,you saved me ,thank you 😊😊

  • @srinireddy6961
    @srinireddy6961 6 месяцев назад

    What a great explanation.. now I am able to write any star pattern

  • @ZekariyasMita-g4r
    @ZekariyasMita-g4r 2 месяца назад

    I have no ideas ,for your brief explanation.thanck you!!

  • @yogithapallamedi6713
    @yogithapallamedi6713 Месяц назад

    the best of best one in whole youtube for understanding the logic😇😇 sincere appreciation to u👏👏👏👏👏👏

  • @pranavraj4589
    @pranavraj4589 11 месяцев назад +1

    Thanks for the explanation ma'am. Very good explanation with dry run. Appreciate your efforts 👏👏

  • @souravanand932
    @souravanand932 Год назад

    I was confused seeing other videos. This is brilliantly explained.

  • @45_farmaankhan30
    @45_farmaankhan30 2 года назад +4

    Excellent lecture on coding patterns. It becomes easy to code after comprehending first two problems.
    Thanks a lot!

  • @kumkumslab5811
    @kumkumslab5811 2 года назад +1

    Thanks a lot mam now i have no doubts.... No one can explain like this ever l...

  • @ssrsparklinggirls2435
    @ssrsparklinggirls2435 5 месяцев назад +1

    The program should be written like this (right side Triangle )
    For i in range(1,6):
    For j in range(1,i+1):
    Print("*",end=' ')
    Print( )

  • @smritisingh9828
    @smritisingh9828 2 года назад +2

    Thanku so much mam...this is the best explaination I ever had on pattern problems

  • @RajviAgrawal
    @RajviAgrawal 11 месяцев назад

    You made it so damn easy.......!!!!!!!!!!!!!
    Nothing to remember after seeing this......highly appreciated 👍