title: Why repeat function didn't work?
body: <p>I'm new to Python.
  Can anyone explain why the <code>repeat</code> function doesn't do anything here?</p>
  
  <pre><code>from itertools import repeat
  
  def f():
      print([5,8,9])
  
  repeat(f(),3)
  </code></pre>