My Python Quiz

The ultimate place to learn Python!

Question #80: What gets printed?

import numpy as np

a = np.array([[0, 1, 2], [3, 4, 5]])
b = a.sum(axis=1)
print (b)