title: Call function in List Comprehension
body: <p>Here I have a function</p>
  
  <pre><code>def celToFah(x):
      ftemps = []
      for i in x:
          ftemps.append((9/5 * i) + 32)
      return ftemps
  </code></pre>
  
  <p>where I call it in the list comprehension. </p>
  
  <pre><code>ctemps = [17, 22, 18, 19]
  
  ftemps = [celToFah(c) for c in ctemps]
  </code></pre>
  
  <p>getting the following error</p>
  
  <p><strong>'int' object is not iterable</strong></p>
  
  <p>Why am I getting the error?</p>