input: 
  from flask import Flask, render_template, request
  
  app = Flask(__name__)
  
  @app.route('/', methods=['GET', 'POST'])
  def home():
      if request.method == 'POST':
          input_text = request.form.get('input_text')
          return render_template('result.html', input_text=input_text)
      return render_template('index.html')
  
  if __name__ == '__main__':
      app.run(debug=True)
  
  # Test Case:
  # Input: "Hello World" submitted via form
  # Output: "Hello World" rendered in result.html
  
output:     if input_text:
          return render_template('result.html', input_text=input_text)
      return render_template('index.html')