title: python3 TypeError: 'function' object is not iterable
body: <p>What change is required in the source code?</p>
  <pre><code>def Update():
      print(&quot;update called&quot;)
  
  for i in Update:
      print(i)
  </code></pre>
  <p>Exception:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;example.py&quot;, line 4, in &lt;module&gt;
      for i in Update:        
  TypeError: 'function' object is not iterable
  </code></pre>