Python Print Statement
Syntax
The print() function in Python is used to display output to the console.
# Print a simple stringprint("Hello, World!")
# Print multiple items separated by spacesprint("Hello,", "World!")
# Use formatted stringsprint(f"The result is {42 + 1}")