title: Python 2.7, How can I get/check the size of a list?
body: <p>I've got an array (list) that I want to check if it's size is equal to 1, if it is then it needs to append a new like as shown.</p>
  
  <pre><code>## If appended data = 1 then append the new line:
  if appended_data == 1:
      appeneded_data.append("") ## Add a new line if appended data has a size of 1
  </code></pre>
  
  <p>Should be a fairly simple thing but I can't work it out :S</p>
  
  <p>Any ideas?</p>