> For the complete documentation index, see [llms.txt](https://sron.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sron.gitbook.io/docs/functions-in-sron/print-functions.md).

# Print functions

#### These functions are used to print data on the terminal(or command line).

#### SRON provides two function for this:

> * print()
> * println()

***

### **1. println():**

This function is used to print data on the terminal. After printing operation is done, it shifts the cursor to a new line.

```js
{
    name : Main
    println("Hello, SRON!")
    println("A new line is here")
}
```

#### **OUTPUT :**

> Hello, SRON!\
> A new line is here

### **2. print():**

This function is used to print data on the terminal same as println() but does not add a new line at the end.

```js
{
    name : Main
    print("Hello, SRON!")
    println("A new line is here")
}
```

#### **OUTPUT :**

> Hello, SRON! A new line is here
