Gadgets 4 Students Online Courses
Free Tutorials  Go to Your University  Placement Preparation 
0 like 0 dislike
6.8k views
in Python Programming by Goeduhub's Expert (9.0k points)
*

* *

* * *

* * * *

* * * * *

* * * *

* * *

* *

*

Where can I do online courses From Word's Top Instructors?

UDEMY::  Attend All Udemy Courses in Just INR 450[Coupon]
Coursera:: Join For FREE

1 Answer

0 like 0 dislike
by Goeduhub's Expert (9.0k points)
 
Best answer
print("PATTERN.......")

k=5

for i in range(12):

    if i<=5:

        for j in range(i+1):

            print(" * ",end="")

        print("\n")

    elif i>5 :

        for j in range(k+1):

            print(" * ",end="")

        print("\n")

        k=k-1

3.3k questions

7.1k answers

395 comments

4.5k users

 Important Lists:

Important Lists, Exams & Cutoffs Exams after Graduation PSUs

 Goeduhub:

About Us | Contact Us || Terms & Conditions | Privacy Policy || Youtube Channel || Telegram Channel © goeduhub.com Social::   |  | 

 

Free Online Directory
...