Hi all ! Is it I possible to avoid apostrophes in my matrix, at the end of the file ??
# file9
def pause():
input("Press ENTER to continue")
S = 'spam'
print(S[0], S[-2])
print(S[0], S[2])
N = 42
print(str(N))
print(str(N) + 'abc')
print(' ' + str(N))
pause()
M = [[x * y for y in range(1, 10)] for x in range(1, 10)]
for x in range(len(M)):
print(M[x])
pause()
for i in range(len(M)):
for j in range(len(M)):
if len(str(M[i][j])) == 1:
M[i][j] = " " + str(M[i][j])
else:
M[i][j] = str(M[i][j])
for x in range(len(M)):
print(M[x])
