title: Iteration of a for loop based on a text file
body: <p>Question: How can I make a for loop iterate over a text or a csv file instead of an array?</p>
  <p>Scenario:</p>
  <pre><code>fruits = [&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]
  </code></pre>
  <p>For instance regarding the code above, instead of the fruits array I want it to be the text or csv file</p>