Python program: Hello, World!
Print a message on the screen: the traditional first program in any language.
The code
print("Hello, World!")
Output
Hello, World!
How it works
print shows whatever you put in its brackets. Text goes in quotes so Python knows it is text, not a command.
Python features used
Learn the ideas behind it in the free lesson Your First Program.