title: Python - Check if numbers in list are factors of a number
body: <p>I have a <code>list</code> of numbers (<code>integers</code>) (say, from 1 to 10). </p>
  
  <p>They're not necessarily consecutive, but they are in ascending order. </p>
  
  <p>I've prompted the user multiple times to enter a choice of the available numbers. When that number is entered, it is removed from the list along with any of its <em>factors</em> that may be there. </p>
  
  <p>I've prevented the user from selecting prime numbers. However, at some point in time, there may be non-prime numbers there, which have no factors remaining.</p>
  
  <p>I'm relatively new to Python, so I'm having trouble implementing:</p>
  
  <ul>
  <li><p>Checking if the number selected has no factors remaining (even if it is not prime). </p></li>
  <li><p>Checking if only prime numbers remain, or numbers without
  factors.</p></li>
  </ul>
  
  <p>I'm thinking of using <code>for</code> statements, but I'm not sure exactly how to implement them. Can anyone offer advice, or code? Thanks in advance...</p>