old_contents: import time
  size_of_vec = 1000
  
  def pure_python_version():
      t1 = time.time()
      X = range(size_of_vec)
      Y = range(size_of_vec)
      Z = []
      for i in range(len(X)):
          Z.append(X[i] + Y[i])
      return time.time() - t1
  
  def numpy_version():
      t1 = time.time()
      X = np.arange(size_of_vec)
      Y = np.arange(size_of_vec)
      Z = X + Y
      return time.time() - t1
  
  
  t1 = pure_python_version()
  t2 = numpy_version()
  print(t1, t2)
  print("Numpy is in this example " + str(t1/t2) + " faster!")
  
new_contents: import time
  import numpy as np
  
  size_of_vec = 10000
  
  def pure_python_version():
      t1 = time.time()
      X = range(size_of_vec)
      Y = range(size_of_vec)
      Z = []
      for i in range(len(X)):
          Z.append(X[i] + Y[i])
      return time.time() - t1
  
  def numpy_version():
      t1 = time.time()
      X = np.arange(size_of_vec)
      Y = np.arange(size_of_vec)
      Z = X + Y
      return time.time() - t1
  
  
  t1 = pure_python_version()
  t2 = numpy_version()
  print(t1, t2)
  print("this example Numpy is " + str(t1/t2) + " faster!")
  
subject: Update compare.py