Premium problem101. Full Array Like a Prototype

Easy Locked

Return an array with the same shape and dtype as proto, every element set to value.

Input

proto =
[[ 1  0  9]
 [ 3 23  4]]
value = 7

Output

[[7 7 7]
 [7 7 7]]

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)