18. Values Below the Diagonal

Easy

Return a 5×5 matrix with values 1, 2, 3, 4 just below the diagonal.

Output

[[0 0 0 0 0]
 [1 0 0 0 0]
 [0 2 0 0 0]
 [0 0 3 0 0]
 [0 0 0 4 0]]

Sign in to write and run your own code.

Implement solve(...)