title: How to print on the same line separated by space in Kotlin?
body: <p>I am new to Kotlin and wondering if I could do this like in python it can be easily done by <code>print(&quot;foo&quot;, end = &quot;&quot;)</code></p>
  <p>Here is my code:</p>
  <pre class="lang-kotlin prettyprint-override"><code>fun main() {
      var first = 0
      var second = 1
      var third: Int
  
      for (i in 1..15){
          third = first + second
          println(third)
          first = second; second = third
      }
  }
  </code></pre>