ArrayLab Explore arrays. Understand tensors.
a = shape (3, 4)
Try

Spaces or commas between values · new line = new row · blank line = new 2-D layer (3-D array).

Starting Python… (first visit downloads ≈ 15 MB, then it is cached)
Python not started
import numpy as np

a = np.array([[ 0,  1,  2,  3],
              [ 4,  5,  6,  7],
              [ 8,  9, 10, 11]])

result = a.ravel()
result
Output

Output appears here.