Menu
Coddy logo textTech

Hello World!

Part of the Fundamentals section of Coddy's Python journey. Lesson 2 of 77.

The "Hello World!" is a simple program that outputs Hello World! to the screen.

In Python, we use print() to show words on the screen. The words go inside quotation marks.

Let's take a look at the "Hello World!" program in Python:

print("Hello World!")
challenge icon

Challenge

Beginner

Your task is to write a program that outputs Hello World!

Note that anything inside quotation marks is case sensitive. The two lines below are not the same program: the first prints Hello World! with capital letters, the second prints hello world! in lowercase, and only the first one matches this task.

print("Hello World!")
print("hello world!")

Try it yourself

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals

Practice on your own: Online Python compiler