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 :)
9
1
2
person = "Mary"
print("Hello,", person)
12person = "Mary" print("Hello,", person)
Opgave
Swipe to start coding
Assign your own name to the variable "person" and print the greeting!
Løsning
9
1
2
person = "John"
print("Hello,", person)
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 2
9
1
2
person = "___"
print("Hello,", person)
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat