Check out example codes for "kotlin print statement". It will help you in understanding the concepts better.

Code Example 1

//Kotlin print statement

//print on its own line
println("Hello world")
  
//regular print statement, will go on top of last line
print("Hello world")

Learn ReactJs, React Native from akashmittal.com