> For the complete documentation index, see [llms.txt](https://computational-thinking-in-room11.gitbook.io/room112-textbasedprogrammimg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://computational-thinking-in-room11.gitbook.io/room112-textbasedprogrammimg/unit-1/collecting-data-from-the-user/print.md).

# print()

Each `print()` command does two things: displays a value to the user AND moves the cursor down to the next line&#x20;

However - we can modifiy the end of our print command&#x20;

```
print(23)
print(33, end = "-")
print(43)

```

Explain the output that you can see.

So what does , `end =` do??

So far we have been joining strings using the `+,` but for a print statement we can display more than one piece of data without having to join.

```
print("Alicia")
print("Alicia", 9, end ="!  ")
word = "frogs"
print ("Alicia", 9, word, end ="!")
```

**Consider this output from the visualizer**

![](https://537336712-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkck3YtWvrksjZO3Z7%2F-MSTkPiWAebI6A03GUOr%2F-MSTl2ZhcU36bq0bOgEW%2Fimage.png?alt=media\&token=e61794c0-ac2e-4639-af5e-0873df7650a9)

We are no longing combining strings to create a new string - we are displaying different data types and commands to the user by connecting pieces with a `,`
