number_count = int(input("Number count example (3 = 3 * 3): ")) range_list = [*range(number_count ** 2)] y = 0 range_list[:] = \'X\' for x in range_list: y