title: Write multiple strings into a text file as a single line
body: <p>I want to write something as one line such as:</p>
  <pre><code>Blah blah 123456 0.0000123
  </code></pre>
  <p>I used the below code:</p>
  <pre><code>value1 = 123456
  value2 = 0.0000123
  k = &quot;Blah blah&quot; + value1 +value2
  File.write(k)
  #outFile.write(&quot;Blah blah %s %s&quot; % (value1 ,value2) )
  </code></pre>
  <p>The output is always:</p>
  <pre><code>Blah blah 123456
  0.0000123
  </code></pre>