title: Python using while loop with a list name
body: <p>I am a beginner to python so this might be easy but I am not sure of what the following code means.</p>
  
  <pre><code>q=[start]
      while q:
  </code></pre>
  
  <p>Does this mean when there is at least one element in the list q execute it and q becomes false when it is empty?
  Edit:I cannot execute it at the moment and I need to find it quickly.</p>