Skip to main content

Different Shapes of Pyramid In Python Programming Language

    

Hello Friends๐Ÿ’–


In Our Previous Blog, We have Learned the Basics of Python Programming Language & Simple Program in Python Programming Language.

In Today's Blog We Will Create Different Shapes of Pyramid in Python Programming Language.


Different Shapes of Pyramid in Python Programming Language.


Program

no=int(input("Pyramid Limit ="))

for i in range(1,no+1):

    for j in range(1,i+1):

        print("*",end=" ")

    print()


Output

Pyramid Limit =7

* * 

* * * 

* * * * 

* * * * * 

* * * * * * 

* * * * * * *  


Different Shapes of Pyramid in Python Programming Language..


Program

no=int(input("Pyramid Limit ="))

for i in range(1,no+1):

    for j in range(i,no+1):

        print("*",end=" ")

    print()


Output

Pyramid Limit =7

* * * * * * * 

* * * * * * 

* * * * * 

* * * * 

* * * 

* * 


Different Shapes of Pyramid in Python Programming Language.


Program

no=int(input("Enter Number of rows ="))

for i in range(no,1,-1):

    for space in range(0,no-i):

        print("  ",end="")

    for j in range(i,2*i-1):

        print("* ",end="")

    for j in range(1,i-1):

        print("* ",end="")

    print()


Output

Enter Number of rows =7

* * * * * * * * * * * 

  * * * * * * * * * 

    * * * * * * * 

      * * * * * 

        * * * 

          * 


Different Shapes of Pyramid in Python Programming Language.


Program

no=int(input("Pyramid Limit ="))

for i in range(1,no+1):

    for j in range(i,no+1):

        print("*",end=" ")

    print()

for i in range(1,no+1):

    for j in range(1,i+1):

        print("*",end=" ")

    print()


Output

Pyramid Limit =10

* * * * * * * * * * 

* * * * * * * * * 

* * * * * * * * 

* * * * * * * 

* * * * * * 

* * * * * 

* * * * 

* * * 

* * 

* * 

* * * 

* * * * 

* * * * * 

* * * * * * 

* * * * * * * 

* * * * * * * * 

* * * * * * * * * 

* * * * * * * * * *   


If You want to Know the Basics of Python Programming Language then Click On this Link.


If You want to Know about Information Technology or It Technology, Then Click on the Link given above.

If you want to see Our Privacy Policy then You Can Click on this Link.


Hope, You Enjoy this Our Blogs on Python Language.๐Ÿ˜Š



Comments

Post a Comment

Popular posts from this blog

Read about Python Programming Language.

       Hello Friends. In Our Previous Blog ,   We have Learned the Basics of Python Programming Language & Simple Program in  Python Programming Language. In Today's Blog We Will Create Some Basic Program in Python Programming Language. Print List Item in Assending Order Without Using Sort Function Program in Python Programming Language. Assending Order- Program #List in Assending Order list=[9,5,1,7,5,3,6,2,8,0] for i in range(0,len(list)):     for j in range(i+1,len(list)):         if list[i]>list[j]:             temp=list[i]             list[i]=list[j]             list[j]=temp print(type(list)) print("Assending Order = ",list)      Outpu t <class 'list'> Assending Order =  [0, 1, 2, 3, 5, 5, 6, 7, 8, 9] Print List Item in Dessending Order Without Using Sort Function Program in Python Programming Language...

Introduction of IT Technology

 เคจเคฎเคธ्เค•ाเคฐ เคฆोเคธ्เคคों๐Ÿ˜ƒ เค†เคœ เค•े เคนเคฎाเคฐे เคชเคนเคฒे เคฌ्เคฒॉเค— เคฎैं เคนเคฎ เค†เคˆเคŸी เคŸेเค•्เคจोเคฒॉเคœी เคฏा เค‡เคจเคซाเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค•े เคชเคฐिเคšเคฏ เค•ो เคธเคฎเคेंเค—े । เคคो เคšเคฒिเค เค†เคœ เค•े เคฌ्เคฒॉเค— เค•ी เคถुเคฐुเค†เคค เค•เคฐเคคे เคนैं। Introduction of IT technology เคตเคฐ्เคคเคฎाเคจ เคธเคฎเคฏ เคฎें เคช्เคฐเคค्เคฏेเค• เคต्เคฏเค•्เคคि เค•िเคธी เคจा เค•िเคธी เคกिเคตाเค‡เคธ เค•े เคฎाเคง्เคฏเคฎ เคธे เค‡ंเคŸเคฐเคจेเคŸ เคธे เคœुเคก़ा เคนुเค† เคนै เคœिเคธเคธे เค•ि เคตเคน เค…เคชเคจे เค•ाเคฐ्เคฏ เค•ो เคธเคฐเคฒ เค•ाเคซी เค†เคธाเคจ เค”เคฐ เค•ाเคซी เค•เคฎ เคธเคฎเคฏ เคฎें เคชूเคฐा เค•เคฐ เคชाเค। เค†เคˆ เคŸेเค•्เคจोเคฒॉเคœी เคธे เค†เคถเคฏ เคเค• เคเคธी เคŸेเค•्เคจोเคฒॉเคœी เคธे เคนै เคœिเคธเคธे เค•ि เค•िเคธी เคญी เคช्เคฐเค•ाเคฐ เค•े เคกाเคŸा เค”เคฐ เค‡ंเคซॉเคฐ्เคฎेเคถเคจ เค•ो เค†เคชเคธ เคฎें เค†เคธाเคจी เคธे เคธाเคा เค•िเคฏा เคœा เคธเค•े เค”เคฐ เค•िเคธी เคญी เค•ाเคฐ्เคฏ เค•ो เคธเคฐเคฒ เค•िเคฏा เคœा เคธเค•े เค…เค—เคฐ เคนเคฎ เคเค• เค‰เคฆाเคนเคฐเคฃ เคธे เคธเคฎเคे เคคो เคชเคนเคฒे เค•े เคธเคฎเคฏ เคฎें เค•เคฎ्เคฏुเคจिเค•ेเคถเคจ เค•ो เค•เคฐ เคชाเคจा เค•ाเคซी เคฎुเคถ्เค•िเคฒ เคนुเค† เค•เคฐเคคा เคฅा เคชเคฐंเคคु เค†เคœ เค‡ंเคŸเคฐเคจेเคŸ เค•ी เคธเคนाเคฏเคคा เคธे เค•เคฎ्เคฏुเคจिเค•ेเคถเคจ เค•ो เค•เคฐ เคชाเคจा เค•ाเคซी เค†เคธाเคจ เคนो เค—เคฏा เคนै เค ीเค• เค‰เคธी เคช्เคฐเค•ाเคฐ เคœเคฌ เคนเคฎ เค‡เคจเคซाเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค•े เคฌाเคฐे เคฎें เคธोเคšเคคे เคนैं เคคो เค‡เคจเคซाเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค•ा เค†เคถเคฏ เค•ेเคตเคฒ เคเค• เคเคธी  เคŸेเค•्เคจोเคฒॉเคœी เคธे เคจเคนीं เคนोเคคा เคœिเคธเคฎें เคธूเคšเคจाเค“ं เค•ा เค†เคฆाเคจ เคช्เคฐเคฆाเคจ เค•िเคฏा เคœा เคธเค•े เคฌเคฒ्เค•ि เคเค• เคเคธी เคŸेเค•्เคจोเคฒॉเคœी เคธे เคนोเคคा เคนै เคœเคฌ เคนเคฎ เค‡ंเคŸเคฐเคจेเคŸ เคชเคฐ เค•ोเคˆ เคญी เค•ाเคฐ्เคฏ เค•เคฐ เคฐเคนे เคนो เคคो เคตเคน เคธाเคฐे เค•ाเคฐ्เคฏ เค‡เคจเคซाเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค•े เค…ंเคคเคฐ्เค—เคค เคนी เค†เคคे เคนैं เค‡เคจเคซाเคฐ्...

Components of Information Technology

เคจเคฎเคธ्เค•ाเคฐ เคฆोเคธ्เคคों๐Ÿ˜ƒ เคœैเคธा เค•ि เคนเคฎเคจे เคนเคฎाเคฐे เคชिเค›เคฒे เค†เคฐ्เคŸिเค•เคฒ เค…เคฅเคตा เคฌ्เคฒॉเค— เคฎैं เค‡ंเคซॉเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค•े เคฌाเคฐे เคฎें เค‰เคธเค•े เคชเคฐिเคšเคฏ เค•ो เคธเคฎเคा เค•ी เค‡เคจเคซाเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค†เค–िเคฐ เคนोเคคी  เค•्เคฏा  เคนै? เค†เคœ เค•े เคนเคฎ เคนเคฎाเคฐे เคฌ्เคฒॉเค— เคฎें เคœाเคจेंเค—े เค•ी เค‡ंเคซॉเคฐ्เคฎेเคถเคจ เคŸेเค•्เคจोเคฒॉเคœी เค•े เค•ौเคจ เค•ौเคจ เคธे เค˜เคŸเค•(Components) เคนै เคคเคฅा เคธเคญी เค•े เค•्เคฏा-เค•्เคฏा เค•ाเคฐ्เคฏ(Works) เคนै।                                                                                   Components of Information Technology เคœैเคธा เค•ि เคนเคฎเคจे เคœाเคจा เคตเคฐ्เคคเคฎाเคจ เคธเคฎเคฏ เค†เคˆเคŸी เคŸेเค•्เคจोเคฒॉเคœी เค•ा เคนै,เคคเคฅा เค†เคจे เคตाเคฒा เคธเคฎเคฏ เคญी เค†เคˆเคŸी เคŸेเค•्เคจोเคฒॉเคœी เค•ा เคนी เคนोเค—ा । เค†เคœ เคนเคฐ เค•्เคทेเคค्เคฐ เคฎें เค†เคˆเคŸी เคŸेเค•्เคจोเคฒॉเคœी เค•ा เค‡เคธ्เคคेเคฎाเคฒ เค•िเคฏा เคœा เคฐเคนा เคนै, เค”เคฐ เคŸेเค•्เคจोเคฒॉเคœी เค•े เค•ाเคฐเคฃ เคช्เคฐเคค्เคฏेเค• เคต्เคฏเค•्เคคि เค•े เค•ाเคฐ्เคฏ เคฏा เคฆैเคจिเค• เค•ाเคฐ्เคฏ เค•ाเคซी เค†เคธाเคจ เคนो เค—เคฏा ।   เค†เคœ เค†เคˆเคŸी เคŸेเค•्เคจोเคฒॉเคœी เค•े เค•ाเคฐเคฃ เคนी เคŸेเค•्เคจोเคฒॉเคœी เค•ा เค•ाเคซी เคตिเค•ाเคธ เคธंเคญเคต เคนो เคชाเคฏा เคนै । เคตैเคธे เคคो เค†เคˆเคŸी เคŸेเค•्เคจोเคฒॉเคœी เค…เคฅเคตा เค‡เคจเคซाเคฐ्เคฎेเคถเคจ เคŸेเค•...