Strings and f-strings · exercise 1 of 17
The game so far · chapter 2
Right now: Pip has no name, and the villager machine has nothing to say to it.
This chapter's mission: Names Pip and lets the villager greet it. Work through the exercises, then your own code brings it to life.
Text is called a string. You can join strings with +: "Hello, " + name puts the two pieces together.
The variable name holds Pip. Print Hello, Pip by joining "Hello, " and name with +.