Printing Stars "*" in Right Triangle Shape | Mirror Image | Python Pattern Program

Поділитися
Вставка
  • Опубліковано 4 вер 2024
  • In this python programs video tutorial you will learn to print stars in right triangle shape in detail.
    We used Nested for loops to write this program.
    Printing Stars in Right Triangle Shape:
    • Printing Stars "*" in ...
    Printing Stars in Inverted Right Triangle Shape
    • Printing Stars "*" in ...
    #PythonPrograms #PatternProgram
    You can Checkout:
    ProgramsAndMe
    programsandme

КОМЕНТАРІ • 24

  • @kanaksharma6660
    @kanaksharma6660 4 роки тому +3

    Mem it's just osm thank u so much am searching this code on Google on UA-cam but m not satisfied now this was osm keep it up u r too good mem

  • @luminary3
    @luminary3 3 роки тому +3

    Thank u so much for providing me with fun and enjoyable python programming project.

  • @rufina1946
    @rufina1946 3 місяці тому

    The best!!!

  • @sarahrosa7336
    @sarahrosa7336 2 роки тому +2

    thank you so much, you're a lifesaver! your video explained the whole process, and it was very easy to follow along!!

  • @saikrishnajadala757
    @saikrishnajadala757 2 роки тому

    Wah what an explanation ...thank you

  • @Krishnaveni-rf6pp
    @Krishnaveni-rf6pp 2 роки тому +1

    first i would like to say thank you very much for explaining very clearly ...but there is a small mistake in that program,taht is ,in second for loop, end = "(space)".

  • @rishabjain7661
    @rishabjain7661 3 роки тому +2

    after every star I need space but when i giving space after * the pattern in printing like a full pyramid

  • @venkyroyal9216
    @venkyroyal9216 2 роки тому

    way of teaching is very nice
    I need help i want to space between start to start please explain

  • @abhia8788
    @abhia8788 2 роки тому

    thanks for code.. one more doubt how to get space between stars

  • @thamizharaasan4067
    @thamizharaasan4067 3 роки тому +1

    Thank you very much

  • @shivak5382
    @shivak5382 2 роки тому

    You have a beautiful voice :)

  • @Chinshan843
    @Chinshan843 3 роки тому +1

    Best ever seen

  • @Pavandiehardfan
    @Pavandiehardfan 2 роки тому

    Thank you 🙏 mam. Well said.

  • @srinivasthumma1001
    @srinivasthumma1001 2 роки тому +1

    Thanq very much mam

  • @chandrakanth4924
    @chandrakanth4924 2 роки тому +2

    n = int(input()) # n = 5
    for i in range(1,n+1): # loop runs from 1; 2 ; 3 ; 4 ; 5
    spaces = (" " * (n-i) ) # space for 1st iteration is (n = 5 ) - ( i=1) so it will be 4 space
    stars = ("* " * (i) ) # star for 1 st iteration is ( i ) so it is (1) so it will be 1 star
    print(spaces + stars )
    .

  • @vishaljadhav8309
    @vishaljadhav8309 3 роки тому +1

    Got it❤️👍🏼

  • @oneeno777
    @oneeno777 Рік тому +1

    Yen