title: Counting words, vowels, and consonants in Python using nested loops
body: <p>My assignment is to write a program in Python that takes input from the user in the form of random words and phrases until the user types "The End." It then needs to give the number of consonants and vowels as well as the number of words typed up until the user ends the program. I have a basic understanding of what I need to do but I'm having trouble understanding how to use Nested loops in the program(required) and how to keep track of the vowels, consonants and words. We just learned about functions(main, etc.) and I think that is a good place to start on this. I understand if/elif/else statements very well and I'm certain they're needed in this as well.</p>
  
  <p>This is the sample given to us.</p>
  
  <pre><code>Hi! I count vowels and consonants! Please enter your words for counting. When you are done, enter “The end.”
  
  Please enter a string: elephant
  
  Please enter a string: house
  
  Please enter a string: pacman
  
  Please enter a string: I’m done
  
  Please enter a string: The end
  
  Please enter a string: 5
  
  Thanks for entering your input!
  
  Total number of vowels: 11
  
  Total number of consonants: 14
  </code></pre>
  
  <p>Any help would be appreciated. I'm a beginner at this and I'm having trouble keeping track of all the different techniques. I just need help getting this off the ground. Getting started has always been the hardest part for me.</p>