old_contents: from flask import Flask, request, redirect, session
  import twilio.twiml
   
  app = Flask(__name__)
  app.SECRET_KEY = 'notsecret'  # TODO: put securely on Heroku
  app.debug = True
  app.PROPAGATE_EXCEPTIONS = True
   
  @app.route("/twilio_sms", methods=['GET', 'POST'])
  def incoming_sms():
      """Respond to incoming calls with a simple text message."""
      
      print response.body
      if 'stop_id' not in session:
          # if it's the first text...
  
          # TODO: validate that the stop_id is a stop id
          session['stop_id'] = request.values.get('Body')
  
          resp = twilio.twiml.Response()
          resp.message("Tell us your feedback:")
          return str(resp)
      else: 
          # if it's the 2nd text...
  
          feedback = request.values.get('Body')
  
          # TODO: save data here
          resp = twilio.twiml.Response()
          resp.message("Thanks for your feedback!")
          return str(resp)
   
  if __name__ == "__main__":
      app.run(debug=True)
new_contents: from flask import Flask, request, redirect, session
  import twilio.twiml
   
  app = Flask(__name__)
  app.SECRET_KEY = 'notsecret'  # TODO: put securely on Heroku
  app.debug = True
  app.PROPAGATE_EXCEPTIONS = True
   
  @app.route("/twilio_sms", methods=['GET', 'POST'])
  def incoming_sms():
      """Respond to incoming calls with a simple text message."""
      
      if 'stop_id' not in session:
          # if it's the first text...
  
          # TODO: validate that the stop_id is a stop id
          session['stop_id'] = request.values.get('Body')
  
          resp = twilio.twiml.Response()
          resp.message("Tell us your feedback:")
          return str(resp)
      else: 
          # if it's the 2nd text...
  
          feedback = request.values.get('Body')
  
          # TODO: save data here
          resp = twilio.twiml.Response()
          resp.message("Thanks for your feedback!")
          return str(resp)
   
  if __name__ == "__main__":
      app.run(debug=True)
subject: Remove extra print statement