Basic Programs · Python example
The classic first program: print a greeting and a second line of text.
A Hello World program confirms that Python is working and introduces print(), the function used to send text to standard output.
print("Hello, World!")
print("This program runs in your browser.")