The welcome screen still says Galway. Can you make it greet visitors in Cork?
A welcome screen from a school event in Galway is being reused in Cork. You change the greeting in the Python file. Before the doors open, how can you tell whether the screen will actually show the new message?
Think about changing a sign for a new event. First you agree what it should say, then you make the change, then you check it. Those are stages. If the check reveals a mistake, you go back, fix it and check again. That repeat is another iteration.
Look at the supplied line. Here, Python's print function displays the text inside the quotation marks. The comma and exclamation mark are part of the greeting. The surrounding quotes mark where the text starts and ends. Before you run it, write down exactly what you predict will appear.
Look back at the print line. Which option is exactly what you'd expect to see on the screen? Pay attention to the punctuation as well as the words, then pick an answer.
Run the supplied file, greet dot P Y, and read the output. This run displays 'Welcome, Galway!' with the comma and exclamation mark. Compare what you see with what you wrote down. The run shows what the original file does before you edit it.
Write 'Welcome, Cork!' as the expected output because that's what the new requirement gives you. Change only the text inside the quotes so the same print function displays the new greeting. Save greet dot P Y and rerun it. This run displays 'Welcome, Cork!' Every character matches, so the test passes.
This time the required greeting is 'Welcome, Limerick!' You've changed the quoted message and saved the file. Pick the option that gives both the action you should take and the exact result that would count as a pass.
Reading your edited line gives you a prediction. Without fresh output, you can't mark the test as passed. An edit can look right in the editor while the saved file still contains the old greeting. Save and rerun, read the actual output, and pass the test only if it matches.
In a computer-based task, you might be asked to change the greeting to 'Welcome, Waterford!' and test your change. Edit the text inside the quotes, save the file and rerun it. Compare what appears with the required greeting. The run gives you the evidence.