print()

Prints objects to stdout (standard output). By default separates objects by a space and ends with newline.

Syntax

python
print(*objects, sep=" ", end="\n", file=sys.stdout)

Example

python
print("Hello, World!")
print("Name:", "Alice", "Age:", 28)
print("Loading", end="...")