From 864c0af2f5a8fbf6918921e4c9310c686dea5dd4 Mon Sep 17 00:00:00 2001 From: RILEYCWUOJO Date: Fri, 28 Jun 2019 05:54:38 +0000 Subject: [PATCH] Add types of print statements. (#30941) --- guide/english/kotlin/hello-world/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guide/english/kotlin/hello-world/index.md b/guide/english/kotlin/hello-world/index.md index 90c72896db..ad58b707af 100644 --- a/guide/english/kotlin/hello-world/index.md +++ b/guide/english/kotlin/hello-world/index.md @@ -57,7 +57,8 @@ fun main(args : Array): Unit {...} ### Print Statement -The println function takes a string as an argument and prints it to the screen. In this case we are printing the string "Hello, World!". Note that string literals are declared using double quotes ```"String"```. +The println function takes a string as an argument and prints it to the screen. In this case we are printing the string "Hello, World!". Note that string literals are declared using double quotes ```"String"```. +Printing in kotlin can be done in two ways; using "println" function and "print" function. The "println" function prints things on a new line whereas the "print" function prints things on the current line. If you'd like to know more about Kotlin Syntax and start writing awesome programs you should check the awesome Kotlin Official Documentation: https://kotlinlang.org/docs/reference/