print()
Try it yourself →Prints the value to the console and moves to the next line.
Syntax
print(value)
Description
Prints the given value as text and automatically adds a newline. The most commonly used output/debugging command.
Example
print("Hello")
print(42)Expected output
Hello 42
When to use?
Showing results, debugging.