Learn / Python / Your first line of Python
Python, lesson 1 of 6
Your first line of Python
A program is a list of instructions the computer follows in order. Python reads them top to bottom. The simplest instruction shows text on the screen:
print("Hello, world")
Text inside quotes is called a string. print shows it exactly as written, spaces and capitals included.
Your turn
Print exactly Hello, LearnOfficially (capital H, a comma, then a space).
Press Run to see what your code prints.
Hint: Copy the example and change the words inside the quotes.