VA
Size: a a a
VA
ВФ
t
VA
SI
t
t
t
VA
t
VA
t
t
VA
AT
lst = list(range(1, 10))
def matrix(lst, cols: int):
s = ''
for i, e in enumerate(lst, 1):
s += str(e) if i % cols != 0 else str(e) + '\n'
return s
print(matrix(lst, 3))
AT
AT
VA
lst = list(range(1, 10))
def matrix(lst, cols: int):
s = ''
for i, e in enumerate(lst, 1):
s += str(e) if i % cols != 0 else str(e) + '\n'
return s
print(matrix(lst, 3))
AT
t