generator with sleep method couldn't work?
<p>I'm making a fibonacci sequence. Everytime I deal with Console (on Windows), it runs too fast and suddenly exits for itself.</p>

<p>So I use <code>Time.sleep()</code> to look what's going on.
Here is the source:</p>

<pre><code>    def fibo():
      pv1,pv2 = 0,1
      while True:
        yield pv2
        pv1,pv2=pv2,pv1+pv2
    import time
    f=fibo()
    for result in f:
      print(result,end=' ')
      time.sleep(0.5)
</code></pre>

<p>I expected "1 1 2 3 ..." per 0.5 secs but it never works! Without the sleeping method, it runs fine.
I think there's something but I'm too ignorant to know why.</p>
