<human>:  track how long a function takes to run in seconds.
<bot>: Here is a Python function to track how long it takes to run in seconds

import time

def time_function(function):
  """
  Function to track how long a function takes to run in seconds.
  :param function: function to be timed
  :return: time in seconds
  """
  start = time.time()
  function()
  end = time.time()
  return end - start

# Enter the function

def my_function():
  print("Hello World")

# Calling the function
print((time_function(my_function)))

#Example Output
# Hello World
# 4.291534423828125e-06

#Remember to inspect code for bugs.