Mwnci println() Function

Syntax

print(text1,[…,textn])

println(text1,[…,textn])

Description

The print() function prints text1…textn to the current console/terminal. The text can be a mixture of text strings and/or variables.

The println() is identical to print() with the singular exception that it will add a newline to the end of each output.

Example

print("Hello World\n")
print("Hello ", "World", "\n")
print("Hello ")
print("World \n")

println("Hello World")
place="World"
println("Hello ", place)
print("Hello ")
println(place)


Hello World
Hello World
Hello World 
Hello World
Hello World
Hello World