title: Placement of print function causing looping constantly
body: <p>I need help to solve Project Euler problem 3 with list.append().
  If I put print like above it's going forever. How can I read the entire list?</p>
  <pre><code># What is the largest prime factor of the number 600851475143?
  list =[0]
  for i in range(2,600851475143):
      if(600851475143%i==0):
          list.append(i)
      print(list)
  </code></pre>