title: functions as a parameter vs in a loop Time Complicity
body: <p>I am assuming that when passing a function(let's call it function B) as a parameter to function A ,its not necessarily adding to big-O of function A.
  <code>functionA(functionB)</code>
  or
  <code>len(range(n))</code></p>
  
  <p>but if a function is being called while iterating over it, then it does change the big-o time complicity.</p>
  
  <p>then wouldn't looping over a built-in function do the same?</p>
  
  <p>here is an example in python:</p>
  
  <pre class="lang-py prettyprint-override"><code>a=list() # of some array 
  for _ in range(a):
       a.count(1)
  </code></pre>
  
  <p>I have no CS background, can someone clarify this.</p>