const rows = 6;
const columns = 10;
let result = '';
for (let row = 0; row < rows; row++) {
for (let column = 0; column < columns; column++) {
const index = row * columns + column + 1;
result += index.toString().padStart(2, '0');
if (column < columns - 1) {
result += ' ';
}
}
if (row < rows - 1) {
result += '\n';
}
}
console.log(result);