Why is print statement considered a function?

The print statement is considered a function because it follows the basic structure of a function in programming.

In programming, a function is a reusable block of code that performs a specific task. It takes input (known as arguments or parameters), processes it, and produces some output. The print statement in programming languages like Python is used to output information to the console or the terminal.

The print statement is called by using the keyword "print", followed by a set of parentheses. Inside the parentheses, you can provide the value or values (separated by commas) that you want to print. These values can be variables, literals, or expressions.

For example, in Python, you can use the print statement as follows:
```
print("Hello, world!")
```
In this example, "Hello, world!" is the value that is being passed to the print statement function, and it will be displayed as output on the console.

Since the print statement follows the structure of a function, accepting input and producing output, it is considered a function in programming languages.