Saying "Hello, World!"
00:00 There’s a longstanding custom in computer programming that the first code written in a newly-installed language is a short program that displays the text, “Hello, World!”. In Python, running a “Hello, World!” program only takes a single line of code.
00:15
It’s a print()
function call with the string, "Hello, World!"
, and to be more precise, it’s a capitalized Hello,
followed by a comma, space, and then a capitalized World
with an exclamation mark.
00:28
The string itself is not that important. The important part here is that the print()
function will display a text to your screen when you run the Python program.
00:37 So in this course, you will use this line of code to explore similar ways of executing Python code. Let’s start with the first way of executing Python code, the REPL.
Become a Member to join the conversation.