Computer Science, asked by alifyasadikot, 11 months ago

print a toughest pattern in python​

Answers

Answered by RoshanMDGCEO
0

Answer:

Here we can type the pattern N.

Explanation:

for row in range(6):

for col in range(6):

if col==6 or col==5 or(row==col and (col>0 and col<5)):

print("*",end=" ")

else:

print(end=" ")

print()

Similar questions