import random
table=[[random.randint(-10,10) for i in range(3)] for x in range(3)]
print(table)
for i in range(len(table)):
for x in range(len(table[i])):
if table[i][x]<0:
table[i][x] = "X"
import random
table=[[random.randint(-10,10) for i in range(3)] for x in range(3)]
print(table)
for i in range(len(table)):
for x in range(len(table[i])):
if table[i][x]<0:
table[i][x] = "X"
print(table)