Course Content
Learn Python from Scratch
Learn Python from Scratch
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 :)
person = "Mary" print("Hello,", person)
Task
Assign your own name to the variable "person" and print the greeting!
Thanks for your feedback!
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 :)
person = "Mary" print("Hello,", person)
Task
Assign your own name to the variable "person" and print the greeting!
Thanks for your feedback!
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 :)
person = "Mary" print("Hello,", person)
Task
Assign your own name to the variable "person" and print the greeting!
Thanks for your feedback!
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 :)
person = "Mary" print("Hello,", person)
Task
Assign your own name to the variable "person" and print the greeting!