input: Write a python function to measure the time taken to execute a block of code and print the elapsed time.
  assert measure_time(lambda: range(100000000)) >= 0
output: import time
  
  def measure_time(func):
      start_time = time.time()
      func()
      end_time = time.time()
      return end_time - start_time