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

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 :)

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

Swipe to start coding

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

Lösung

person = "John"
print("Hello,", person)

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
person = "___"
print("Hello,", person)

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt