from random import *
def generate_matrix(rader_, kolumner_):
matrix_ = [[0 for i in range(rader_)] for j in range(kolumner_)]
for i in range(rader_):
for j in range(kolumner_):
matrix_[i][j] = choice(range(1, 10))
return matrix_