n=7 mass = [[1 for i in range(n)]] current_max = 1; print(mass) for i in range(1,n): current_max = current_max +1; cur_list = mass[i-1]