Video není dostupné.
Omlouváme se.

Python Special Programs - Full Pyramid of Stars

Sdílet
Vložit
  • čas přidán 12. 11. 2023
  • Python Programming: Python Special Programs - Full Pyramid of Stars
    Topics discussed:
    1. Python Program to print the Full Pyramid of Stars Pattern.
    Python Programming Playlist: • Python Programming
    Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
    Contribute: www.nesoacadem...
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacadem...
    Website ► www.nesoacadem...
    Forum ► forum.nesoacad...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #PythonByNeso #PythonProgramming #PythonPrograms

Komentáře • 16

  • @simonkachepa4465
    @simonkachepa4465 Před 7 měsíci +1

    Good day, Thank you so much for the teaching. However on this question, the given code will result in a right angled triangle with the right angle at the bottom right side. It is not giving those white spaces between the stars. Kindly check on that please. Thank you once again

  • @shivamchakrawarti8262
    @shivamchakrawarti8262 Před 9 měsíci

    Excellence teaching style with excellence representation love you sir and neso academy for providing such great lectures in free of cost no one in CZcams showed such great representation except neso academy ❤❤❤❤❤❤

  • @UsmanAliAli-od7eg
    @UsmanAliAli-od7eg Před 9 měsíci +2

    Thanks you dear jaspreet sing sir from Pakistan ❤❤🇵🇰🇵🇰long live for jaspreet sing sir from

  • @user-qp7ls1xs6g
    @user-qp7ls1xs6g Před měsícem

    rows = int(input("enter num of rows :"))
    for i in range(1,rows+1):
    for space in range(1,rows-i+1):
    print(" ",end=" ")
    for j in range(1,i+1):
    print("*",end=" ")
    print()
    for k in range(1,rows):
    for l in range(1,k+1):
    print(" ",end=" ")
    for m in range(rows-k,0,-1):
    print("*",end=" ")
    print()

  • @syedfarhan6554
    @syedfarhan6554 Před 9 měsíci

    Keep the good work going sir ❤

  • @rekhasmily590
    @rekhasmily590 Před 9 měsíci +1

    Hi sir, can u provide the Data structure and algorithms with python course zero to advance

  • @HMOsman-ml9qp
    @HMOsman-ml9qp Před 9 měsíci

    Please keep it going....

  • @MrJzvoyeur
    @MrJzvoyeur Před 9 měsíci

    def star_pyramid(base=5, reverse=False):
    """
    """
    for row in range(1, base+1, 1) if not reverse else range(base, 0, -1):
    print(f"{' ' * (base - row)}{'* ' * (row - 1) + '*'}")

    • @MrJzvoyeur
      @MrJzvoyeur Před 9 měsíci

      def star_pyramid(base=5, reverse=False):
      rows = [f"{' ' * (base - row)}{'* ' * (row - 1) + '*'}
      "
      for row in (range(1, base+1, 1) if not reverse else range(base, 0, -1))]
      print(rows)

  • @hadideyal9377
    @hadideyal9377 Před 8 měsíci

    Thank's sir

  • @mamtasaw2331
    @mamtasaw2331 Před 9 měsíci

    Sir can you upload html and css Playlist please 🙏

  • @justvibe-un8db
    @justvibe-un8db Před 6 měsíci

    sir i tried this but for me it's not including space, it runs without leaving space . i had checked the code for multiple times.

    • @walida4151
      @walida4151 Před 6 měsíci

      me too

    • @walida4151
      @walida4151 Před 6 měsíci

      i just got it. Put a space between the quotation marks in the "end". Example print (end= ' ')

  • @Thekingslayer-ig5se
    @Thekingslayer-ig5se Před 9 měsíci

    Much useful one

  • @Amit_0
    @Amit_0 Před 8 měsíci

    They written code was not running