The console is a text-based interface where a program can display information and receive input from the user. It is one of the simplest ways for a program to communicate with the outside world.

When you run a program in an IDE, the console appears as a panel where you can read the program’s output and type responses when the program asks for them.
Output#
Output is information the program sends to the console. You use a built-in function to print a string to the console: