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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 24

  • @kanaksharma6660
    @kanaksharma6660 4 ปีที่แล้ว +3

    Mem it's just osm thank u so much am searching this code on Google on TH-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.

  • @sarahrosa7336
    @sarahrosa7336 3 ปีที่แล้ว +2

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

  • @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)".

  • @saikrishnajadala757
    @saikrishnajadala757 2 ปีที่แล้ว

    Wah what an explanation ...thank you

  • @rishabjain7661
    @rishabjain7661 3 ปีที่แล้ว +2

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

  • @rufina1946
    @rufina1946 5 หลายเดือนก่อน

    The best!!!

  • @venkyroyal9216
    @venkyroyal9216 2 ปีที่แล้ว

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

  • @srinivasthumma1001
    @srinivasthumma1001 2 ปีที่แล้ว +1

    Thanq very much mam

  • @thamizharaasan4067
    @thamizharaasan4067 3 ปีที่แล้ว +1

    Thank you very much

  • @shivak5382
    @shivak5382 3 ปีที่แล้ว

    You have a beautiful voice :)

  • @Pavandiehardfan
    @Pavandiehardfan 2 ปีที่แล้ว

    Thank you 🙏 mam. Well said.

  • @abhia8788
    @abhia8788 2 ปีที่แล้ว

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

  • @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 )
    .

  • @Chinshan843
    @Chinshan843 3 ปีที่แล้ว +1

    Best ever seen

  • @vishaljadhav8309
    @vishaljadhav8309 3 ปีที่แล้ว +1

    Got it❤️👍🏼

  • @oneeno777
    @oneeno777 ปีที่แล้ว +1

    Yen