Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Hello, World! | The basics
Learn Python from Scratch
course content

Course Content

Learn Python from Scratch

Learn Python from Scratch

1. The basics
2. Arithmetic operations
3. Common data types
4. Conditional statements
5. Other data types
6. Loops
7. Functions

Hello, World!

Please type in (or copy) the code exactly as shown below in the editor to the right and click the orange Run button. This will execute this very simple program.

In case you get any errors please just Copy and Paste the code and it will work.

Click Submit when you are ready to move to the next chapter!

1
print("Hello, World!")
copy

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 1
toggle bottom row

Hello, World!

Please type in (or copy) the code exactly as shown below in the editor to the right and click the orange Run button. This will execute this very simple program.

In case you get any errors please just Copy and Paste the code and it will work.

Click Submit when you are ready to move to the next chapter!

1
print("Hello, World!")
copy

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 1
toggle bottom row

Hello, World!

Please type in (or copy) the code exactly as shown below in the editor to the right and click the orange Run button. This will execute this very simple program.

In case you get any errors please just Copy and Paste the code and it will work.

Click Submit when you are ready to move to the next chapter!

1
print("Hello, World!")
copy

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Please type in (or copy) the code exactly as shown below in the editor to the right and click the orange Run button. This will execute this very simple program.

In case you get any errors please just Copy and Paste the code and it will work.

Click Submit when you are ready to move to the next chapter!

1
print("Hello, World!")
copy

Task

Type the code as shown in the example above the execute it (by clicking the Run button). Click Submit to check it.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 1
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt