title: Why does my While loop Exit?
body: <p>My comments illustrate my line of reasoning but clearly I've got something wrong. My code just jumps straight to "Your total debt is..."</p>
  
  <pre><code># Dictionary of Bills
  
  expenses = {'mortgage':[], 'personal':[], 'power':[], 'insurance':[], 'water':[], 'food':[], 'savings':[], 'fuel':[], 'phone':[], 'internet':[], 'credit':[], 'emergencies':[]}
  totalDebt = 0
  switch = "A"
  
  while switch == switch.isalpha(): # Condition is true, switch is a letter  
  for each in expenses: # Iterates through each bill  
      debt = input("%s: "%each) # User input   
      if debt.isdigit(): # checks to make sure they only enter numbers  
          debt = int(debt) # Converts debt to its integer value  
          totalDebt = totalDebt + debt # adds debt to keep a running total.  
  
  
      else: # User entered something other than a number  
          print("Only enter digits!")  
  
  
  
  
  
  print("Your total Debt is: $%i" %totalDebt)
  
  input("Press Enter to continue: ")
  
  print("What is this fortnights Income?")
  </code></pre>