Loading…
Use np.random.seed(0), create an array of 10 random floats. Multiply by 2 in a vectorized manner. Print 'VECTOR_SUM:' plus the sum of the result for a consistent check.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.