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

Swipe to show menu

book
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

Swipe to start coding

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2
We're sorry to hear that something went wrong. What happened?

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
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

Swipe to start coding

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2
Switch to desktopSwitch 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