Create a 3×3×3 array of random values in the range [0, 1). To make this
reproducible, seed the global random state with 0 immediately before generating
the values, inside solve; seeding earlier (e.g. at import time) won't reliably
reproduce the same numbers, since the seed is global, shared state.
Output
[[[0.5488135 0.71518937 0.60276338]
[0.54488318 0.4236548 0.64589411]
[0.43758721 0.891773 0.96366276]]
[[0.38344152 0.79172504 0.52889492]
[0.56804456 0.92559664 0.07103606]
[0.0871293 0.0202184 0.83261985]]
[[0.77815675 0.87001215 0.97861834]
[0.79915856 0.46147936 0.78052918]
[0.11827443 0.63992102 0.14335329]]]
Sign in to write and run your own code.
solve(...)