TOPIC

I can't understanding what is wrong. plz help me

Prantik😇 asked 11 months ago

for i in range(n):

    print(end='  ')

    for j in range(n):

        if j < n - 1:

            print(M[i][j], end='   ')

        else:

            print(M[j][i])

print()

Remember not post solutions. Your post may be reviewed by our moderators.

  • Ali Tarique replied 10 months ago

    only space character doesn't work use "%3d" for double space and so on!!