Hello guys. Can u help me with this pattern ?
I've tried to do this with matrix but i did square and then i dont know how can i turn my square to this cross.
[/i]
I've tried to do this with matrix but i did square and then i dont know how can i turn my square to this cross.
def square(n): matrix=['*',' ','D','X'] for g in range(n): for s in range(n): for i in range(2): for j in range(1): print(matrix[i][j],end='') print() square(9)

