Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 830 Bytes

how-to-use-the-println-function-in-julialang.md

File metadata and controls

28 lines (19 loc) · 830 Bytes

How to use the println function in JuliaLang?

// plain

The println function is used to print a line of text to the console in JuliaLang. It is similar to the print function, but it adds a new line character at the end of the output.

Example

println("Hello World!")

Output example

Hello World!

The println function takes a single argument, which is the text to be printed. It can be a string, a number, or any other type of data.

Code explanation

  • println: the function name
  • "Hello World!": the argument passed to the function, which is the text to be printed

Helpful links

onelinerhub: How to use the println function in JuliaLang?