title: Return several number ranges in python
body: <p>How can function return several ranges of numbers like:  <code>[1:input]</code>, the second one <code>[1:input-1]</code> etc. until <code>[1:1]</code></p>
  
  <p>Example:</p>
  
  <p><strong>Input</strong>: </p>
  
  <pre><code>5
  </code></pre>
  
  <p><strong>Output</strong>:</p>
  
  <pre><code>12345
  
  1234
  
  123
  
  12
  
  1
  </code></pre>
  
  <p>Problem is that I'm new to python, so I don't know how to do it. I suppose that with <code>for</code> clause, but I'm not sure.</p>