Cycle does not work : <p>I was writing a simple program in Python. Firstly, user inputs some data. If the data equals to 'y', then the cycle starts</p>

<pre><code>ans = raw_input()
if ans.lower() == 'y':
      for path in mas[]:
           print("This is cycle")
           function()
      print("End of program")
</code></pre>

<p>The problem is that terminal outputs only "End of program". Neither the function nor the output of the text in the loop does not work.</p>
