title: Python - Returning only first value from a for loop statement
body: <p>I know this is basic but I have not been able to break this. I have a <code>for loop</code> that I am trying to execute that returns back 10 rows. How do I limit the loop to only return back <strong>first row</strong> and not the entire output.</p>
  
  <pre><code>for i in range(10):
      print(i)
  </code></pre>
  
  <p>I cannot change the range value from 10. </p>
  
  <p>Current output:</p>
  
  <pre><code>0
  1
  2
  3
  4
  5
  6
  7
  8
  9
  </code></pre>
  
  <p>Expected output : </p>
  
  <pre><code>0
  </code></pre>