title: All I get is a blank page when I visit localhost:9080
body: <p>I have been using udacity.com to learn to program but I ran into some problem with my code(python). The application is post to allow to put down the day you were born and when you push submit it's post to say "Thanks That's a totally valid day!". It's not doing it. The application just restarts again. Can some tell me why the is statement is not working and how to fix it.</p>
  
  <pre><code>import webapp2
  form="""
  
      &lt;form&gt;
          What is your birthday?
          &lt;br&gt;
          &lt;label&gt;Month&lt;input type="type" name="month"&gt;&lt;/label&gt;
          &lt;label&gt;Day&lt;input type="type" name="day"&gt;&lt;/label&gt;
          &lt;label&gt;Year&lt;input type="type" name="year"&gt;&lt;/label&gt;
          &lt;div style="color: red"&gt;%(error)s&lt;/div&gt;
          &lt;br&gt;
          &lt;br&gt;
          &lt;input type="submit"&gt;
      &lt;/form&gt;
  
  """
  class MainPage(webapp2.RequestHandler):
      def write_form(self, error=""):
          self.response.out.write(form % {"error": error} )
      def get(self):
          self.write_form()
  
          def post(self):
              user_month = valid_month(self.request.get('month'))
              user_day = valid_day(self.request.get('day'))
              user_year = valid_year(self.request.get('year'))
  
              if not (user_month and user_month and user_year):
                  self.write_form("That doesn't look valid to me, friend.")
              else:
                  self.response.out.write("Thanks! That's a totally valid day!")
  
  
  app = webapp2.WSGIApplication([('/',MainPage)], debug=True)
  </code></pre>