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

Поділитися
Вставка
  • Опубліковано 15 вер 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 ...
    Printing Stars in Right Triangle Shape {mirror image}
    • Printing Stars "*" in ...
    #PythonPrograms #PatternProgram
    You can Checkout:
    ProgramsAndMe
    programsandme

КОМЕНТАРІ • 11

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

    Thanks a lot, really helped me a lot to understand it🙂

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

    I am so thankful to you mam😊😊

  • @pranaygoud4934
    @pranaygoud4934 Рік тому

    Good explanation

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

    Thank you 🙏 mam.

  • @kumar-fe7tb
    @kumar-fe7tb 2 роки тому

    Nice 👍

  • @shaikhassain4276
    @shaikhassain4276 Рік тому

    please explain the same pattern for hollow type also.

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

    End of the for loop u have write or not

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

    how to add spaces btw the stars

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

      N = int(input())
      for row in range(N):
      for space in range(row):
      print(" ", end="")
      for space in range(N - row):
      print("* ", end="")
      print()
      In line 4 between the quote" ", give the space twice. Then you will get the space between the stars.

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

    give me tips to solve this
    _____
    | /
    | /
    | /
    | /
    |/ given number is 5