Python pattern Programs - Printing Stars in Hollow Right Triangle Shape

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

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

  • @hiddennetwork1518
    @hiddennetwork1518 3 года назад +3

    one of the valuable pieces of content that I sawed on youtube for free .....but I was really shocked after watching your lecture ... I thought u may have millions of subscribers to this channel ...but, anyhow mam u will definitely deserve great heights and I really attracted the way u teach!
    thank u, mam

  • @vinodsagar2412
    @vinodsagar2412 5 лет назад +8

    Hi Madam,
    this tutorial is awesome, thank you very much for the explanation and teaching.
    continue good work

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

    many thanks, to you i almost watched every vedio i found but yours is the only one i understand

  • @anishmehta3984
    @anishmehta3984 4 года назад +3

    your explanation methodology is easy to grasp for beginners!
    keep making videos.

  • @naresh.karthi
    @naresh.karthi 4 года назад +8

    As always, your videos are easily understandable. OOC: How do you attain such fluidity in coming up with logics for problems like patterns or involving complex numbers?. I'm a novice in programming and I can't get my brain around in coming up with my own logic unless I watch some videos.

    • @AmulsAcademy
      @AmulsAcademy  4 года назад +1

      Thank you :)
      You will get it with the practice :)

  • @chirag590
    @chirag590 6 лет назад +4

    Hi Amulya ur really rockstar in python.. I like it

  • @monindersingh2565
    @monindersingh2565 4 года назад +3

    very well explained. @viewers note:if you getting different output in spite of same code, please check spaces in Print(end=" " ) .

  • @vikash_boora
    @vikash_boora 3 года назад +1

    no words mam.......awesome ..Such a wonderful explanation mam 👏👏👏👏👏👏👏👏👏👏

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

    your voice is really scratch on my heart

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

    channage gothu sahodari!

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

    for i in range(5):
    for j in range(5):
    if( j==1) or (i==4 and j>0) or (i==j and (j>0 and i

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

      Correct teenaaaa madam plz reply

    • @AmulsAcademy
      @AmulsAcademy  4 года назад +1

      for i in range(5):
      for j in range(5):
      if( j==0) or (i==4 and j>0) or (i==j and (j>0 and i

  • @soniyasoniya2504
    @soniyasoniya2504 5 лет назад +2

    Such a wonderful explanation mam.......👏keep it up

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

    Thank you for your tutorials.

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

    easy to understand .....nice work maam

  • @infinite_xiao5483
    @infinite_xiao5483 3 года назад +1

    Great! exactly what I was looking for!

  • @raghbeerchauhan7999
    @raghbeerchauhan7999 4 года назад +3

    Sis it's really helpful 😊😊😊

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

    Salute to your explanation

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

    Such a awesome explanation ..🙌❤

  • @_Shubhamkrsingh
    @_Shubhamkrsingh 3 года назад +1

    This is very logical 👍👍

  • @Shivang-rj9lq
    @Shivang-rj9lq 2 года назад +1

    your voice is so sweet and all awesome
    😘

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

    I really loved this video! First time I've seen someone being able to explain this in such an easily understandable way :) I was wondering though, and I hope I am not rude for asking, I am trying to create this pattern:
    *
    *
    *
    *
    *
    *
    *
    *
    *
    How would you suggest I go about creating such a pattern? I attempted changing up the code you provided here, but was unable to figure it out :/ I would really love and appreciate any advice or suggestion you may have

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

      Try this if you like brother:
      n = 9
      for row in range(n):
      for col in range((n+1)//2):
      if row

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

      n=int(input("Enter no of rows:"))
      for i in range(n):
      for j in range(n):
      if(i==j):
      print("*",end=" ")
      else:
      print(end=" ")
      print()
      for i in range(1,n):
      for j in range(n):
      k=n-1-j
      if(i==k):
      print("*",end=" ")
      else:
      print(end=" ")
      print()

  • @mr.prasadyadav
    @mr.prasadyadav Год назад

    Great lecture

  • @azadjain8534
    @azadjain8534 4 года назад +1

    Nicely explained

  • @lokeshsurya9700
    @lokeshsurya9700 4 года назад +1

    Super explaination mam..

  • @CSSaiCharan
    @CSSaiCharan 4 года назад +1

    Tq for this exlnt lecture

  • @jamaalfarxadweyne2104
    @jamaalfarxadweyne2104 6 лет назад +2

    Thank alot for gives as potetional

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

    Awesome voice🤩

  • @Shivam_Manswalia
    @Shivam_Manswalia 3 года назад +3

    10:23 okay 😍😍

  • @jessierider5845
    @jessierider5845 4 года назад +1

    Ma'am , please clarify my doubt.. Which version of python you're using? Python 2 or 3???🥺

  • @veereshkumar111
    @veereshkumar111 5 лет назад +1

    Hi Amulya, this video is same as previous one...pls check once

    • @AmulsAcademy
      @AmulsAcademy  5 лет назад

      Yes :)
      This one is very lengthy, that's why i made another video :)

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

    may i know why last row stars printing without space

  • @AbhishekKumar-tm5yf
    @AbhishekKumar-tm5yf 2 года назад

    आपकी आवाज बहुत प्यारी है l

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

    Madam your videos are very helpful but how can we get the space between the stars

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

    Could you please make another video Don't use columns or j I mean inner for-loop without using write code. another request is the right-angle triangle and inverted reight-angle triangle same line I hope you make the tutorial and update me with that link please if don't mind please make it

  • @gowthame2001
    @gowthame2001 4 года назад +1

    Hii amulya plzz upload some more difficult programs in python

  • @ankitkumardas8923
    @ankitkumardas8923 4 года назад +1

    Mam can you please guide what to practise much to crack an interview for freshers???as i am from mechanical background and i have done python but i used to practise normal star patterns so any other thing i should practise so it will be helpful for me to crack interview.
    Please guide mam

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

      Learn basic Concepts and also practice other python programs :)

  • @Coder_421
    @Coder_421 3 года назад

    I love your voice so sweet

  • @manikandand2541
    @manikandand2541 4 года назад +1

    thank u mam

  • @rupeshkumbhar8903
    @rupeshkumbhar8903 4 года назад +1

    how to write same pattern in java??

  • @utkarshp1108
    @utkarshp1108 3 года назад +1

    you are so cool

  • @tatva123
    @tatva123 3 года назад

    Thanks for the explanation Ma'am....I tried this way
    for i in range(1,6):
    for i in range(i):
    print("*",end="")
    print()

  • @soumyasinha4183
    @soumyasinha4183 4 года назад +1

    Why we are not using range here as (1,n+1)?

    • @AmulsAcademy
      @AmulsAcademy  4 года назад +1

      You can take from 0 to n also :)

  • @codesfromsky9129
    @codesfromsky9129 3 года назад

    U are Awsome

  • @aries2464
    @aries2464 3 года назад +1

    And when no. of rows is not equal to column?

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

    mam im getting error
    can u plz help
    now im using new version of python 3.11.1

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

    you have mentioned rows and columns indication wrong in 2:17 minutes , correct it

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

    I am getting error .
    I am using python 3.9

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

    how to make spaces in btwn column

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

    Can you make playlist for placement coding problem solutions in python mam 😭😭😭

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

      Plz reply mam

  • @mohamedaaqil4560
    @mohamedaaqil4560 4 года назад +1

    mam can you please teach or reply for my commment by
    writtind a program to print numbers in hollow right triangle shape
    ...

    • @AmulsAcademy
      @AmulsAcademy  4 года назад

      Can you give me the proper pattern? then i can try :)

    • @mohamedaaqil4560
      @mohamedaaqil4560 4 года назад

      @@AmulsAcademy
      mam here is a code which i wrote and got a
      output for hollow right triangle
      lines = int(input('Enter Number of lines: '))
      spaces = lines
      for i in range(lines):
      for k in range(i):
      if k == 0 or k == i-1:
      print(k+1, end='\t')
      continue
      print(' ',end='\t')
      spaces-=1
      print('
      ')
      for s in range(lines):
      print(s+1, end=' \t ')
      OUTPUT---
      Enter Number of lines: 6
      1
      1 2
      1 3
      1 4
      1 5
      1 2 3 4 5 6

  • @willlsir210
    @willlsir210 6 лет назад +1

    at the end why all star is printed??

    • @AmulsAcademy
      @AmulsAcademy  6 лет назад +2

      because in the if condition we mentioned when row==4 we want star, so it will print stars in all columns of row 4:)

  • @DK-js8cz
    @DK-js8cz 2 года назад

    Mam, you forgot to tell about the repetition of stars. In the 3 parts, stars are overlaping.

  • @trilberger
    @trilberger 5 лет назад +1

    sorry, i don't understand why row==(n-1)?

    • @AmulsAcademy
      @AmulsAcademy  5 лет назад

      Because we are taking row from 0, so last row becomes (n-1).
      :)

  • @kakhil1843
    @kakhil1843 3 года назад +1

    ur qulification?

  • @civilsiteengineer8286
    @civilsiteengineer8286 4 года назад +1

    Where are you from mam?

  • @abhishekpandey2356
    @abhishekpandey2356 4 года назад +1

    getting different answer

    • @AmulsAcademy
      @AmulsAcademy  4 года назад

      Give me the program i will check :)

  • @nandhabalan4378
    @nandhabalan4378 5 лет назад +1

    Not working sister.

  • @screwedgamer2277
    @screwedgamer2277 4 года назад +1

    foootroo 8:12

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

    why you sound like that