Courses/Python Basics

๐Ÿ Python Basics

Hello, World!

Write and run your very first Python program.

Every programmer's first program prints "Hello, World!" to the screen. In Python, this is delightfully simple โ€” one line, no setup, no boilerplate.

The print() function sends text to the output. Whatever you put between the parentheses (inside quotes) gets displayed.

print("Hello, World!")

Try changing the text inside the quotes and run it again. Make it yours.

main.py
Output
Press Run to execute.
Expected output
Hello, World!

Sign in to track your progress across lessons.