Checkpoint 15.4.1.
Now you want to add more to the story. You want it to say: “Pat called the police who took the witch away.” Adding which of these lines to the end of the program will make that happen? (Hint: It is okay to try each one!)
-
realEnding = firstName + " called the police who took the witch away."
-
This would only work if you also put print(realEnding) after this line.
-
print(firstName + " called the police who took the witch away.")
-
This is a good way to do this since the line that is printed will have the correct first name. You could also make a string named realEnding first, and then print it.
-
print("Pat called the police who took the witch away.")
-
This would work. But if you changed the firstName variable, this line would not change. A different answer is better.
