code for the following pattern in python

0 votes
asked May 22 by (330 points)
print following pattern using function

           

           *****

           *****

           *****

           *****

           *****

*****

*****

*****

*****

*****

3 Answers

–2 votes
answered 6 days ago by (100 points)
P=eval(input("enter the number of stars required to print in the pattern:"))

From math import *

n==*

Print(
commented 6 days ago by (330 points)
Check your code my friend before answering.
0 votes
answered 4 days ago by (140 points)
p = eval(input("enter the no of stars to be printed:")

from math import *

n == *

print(*)
0 votes
answered 2 days ago by (140 points)
n=int(input('Enter the number of stars to be printed: '))
for i in range(n):
    print(' '*n,'*'*n)
    print(''*n)
for i in range(n):
    print('*'*n)
    print(''*n)

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...