title: How to output N lines with N, N-1, .., 1 characters per line
body: <p>Currently learning python and have ran into a problem how do i get it to do this? The example below is the problem. </p>
  
  <pre><code>Number of lines: 5 *User inputs number*
  xxxxx
  
  xxxx
  
  xxx
  
  xx
  
  x *Then it prints any number of 'x' backwards. 
  </code></pre>
  
  <p>So it counts backwards the number you put in, so for example if it was 5 it will display 5 'x's and count them down. Also it needs the user to input any number and it will perform that action.</p>