input: 
  from flask import Flask, render_template, request
  
  app = Flask(__name__)
  
  @app.route('/', methods=['GET', 'POST'])
  def home():
      """
      Create a web application in Python using Flask that will take user input and generate an HTML page with the input.
      >>> # Assuming the user inputs "Hello World" via a form
      >>> # Accessing the resulting page should display:
      >>> # <html>
      >>> #  <body>
      >>> #   <h1>Your Input: </h1>
      >>> #   <p>Hello World</p>
      >>> #  </body>
      >>> # </html>
      """
      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)
  
output:     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)