Premium problem111. Stack Two Vectors as Rows

Easy Locked

Given two 1-D arrays a and b of the same length, stack them as two rows of a single 2-D array, with a as row 0 and b as row 1.

Input

a = [1 2 3]
b = [4 5 6]

Output

[[1 2 3]
 [4 5 6]]

Premium problem

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

Implement solve(...)