title: Can you tell me how to use a for loop in my code?
body: <pre><code>def get_odds(first=0, stop=10, step=1):
      number = first
      while number % 2 == 1:
          yield number
          number += step
      for i in range(1,10):
          third_value = get_odds[4]
          number = third_value
          print(third_value)
  </code></pre>
  <p>I want to return the odd numbers from range(10), so that's why I coded like this. But now, I want to know 'How to use for loop to find and print the third value returned'.</p>