title: python 2.7 word generator
body: <p>Algorithm: take input on how many letters to go back, for loop to loop a-z, lock the first character, loop the second character, lock the first two, loop the third, and so on and so forth. The out put will look like a, b, c, d... aa, ab, ac, ad... aaa, aab, aac... and so on. I am very new to python. I have something that cycles through the alphabet, but my problem is to lock the first and cycle the second and so on.</p>
  
  <pre><code>w = 'abcdefghijklmnopqrstuvwxyz'
  n = input ("# of characters: ")
  
  for a in range(0,n):
          for i in w:
                  print i
  </code></pre>