title: How do you use %timeit on a .py file?
body: <pre><code>%timeit sortThis 
  Output: 15.1 ns ± 0.163 ns per loop (mean ± std. dev. of 7 runs, 100000000 loops each)
  </code></pre>
  
  <p>Tried this but it's not giving me the right output.</p>
  
  <p>sortThis is a .py file with a simple function that sorts a list. I've timed it with a stopwatch and it's way more than what the command is returning.</p>
  
  <p>Thank you for your help.  </p>
  
  <p>EDIT: This is for a homework assignment and I <strong>must</strong> use %timeit in the command line. </p>