Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Hello, me! | 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, me!

Congratulations! Now, let's modify this simple program. In the example below variable "person" is assigned value "Mary" and the program uses that name in printing the greeting. (feel free to change it to your own name :)

12
person = "Mary" print("Hello,", person)
copy

Task

Assign your own name to the variable "person" and print the greeting!

Task

Assign your own name to the variable "person" and print the greeting!

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

Everything was clear?

Section 1. Chapter 2
toggle bottom row

Hello, me!

Congratulations! Now, let's modify this simple program. In the example below variable "person" is assigned value "Mary" and the program uses that name in printing the greeting. (feel free to change it to your own name :)

12
person = "Mary" print("Hello,", person)
copy

Task

Assign your own name to the variable "person" and print the greeting!

Task

Assign your own name to the variable "person" and print the greeting!

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

Everything was clear?

Section 1. Chapter 2
toggle bottom row

Hello, me!

Congratulations! Now, let's modify this simple program. In the example below variable "person" is assigned value "Mary" and the program uses that name in printing the greeting. (feel free to change it to your own name :)

12
person = "Mary" print("Hello,", person)
copy

Task

Assign your own name to the variable "person" and print the greeting!

Task

Assign your own name to the variable "person" and print the greeting!

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

Everything was clear?

Congratulations! Now, let's modify this simple program. In the example below variable "person" is assigned value "Mary" and the program uses that name in printing the greeting. (feel free to change it to your own name :)

12
person = "Mary" print("Hello,", person)
copy

Task

Assign your own name to the variable "person" and print the greeting!

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 2
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