title: Add value in a variable using for loop - Python Flask
body: <p>I'm new in python + flask, and having a hard time to add a value beside the variable value. The variable text should be on array value. <br />
  <b>This is the output i wanted to :<br /></b>
  text123<br />
  area123<br />
  testing123<br />
  <b>The output ended up like this :<br /></b>
  ['text <br />
  \narea <br />
  \ntesting123', 'text <br />
  \narea <br />
  \ntesting123', 'text <br />
  \narea <br />
  \ntesting123'] <br /></p>
  <p>This is my code so far <br /></p>
  <pre><code>    text = request.form['title']
      value = &quot;123&quot;
      textarray = []
      for txt in text:
          text4 = text.replace('\r', '&lt;br&gt;')
          output = text4 + value
          textarray.append(output)
  
      return render_template('index.html', text=textarray)
  </code></pre>
  <p>Thank you for your kind answers</p>