REVIEW YOUR LEARNING
Plenary – Exit Ticket and Reflection
Complete the exit-ticket question and reflection in your notebook.
Exit Ticket – Question 1: Debug the program
input("Enter your name: ")
print(name)Explain why the expected name is not displayed. Rewrite the statements correctly so that the user's name is stored and then displayed.
Remember: Check whether the response returned by
input() is assigned to a variable before that variable is used.Reflection
Write your responses in your notebook:
- One thing I can now do using
input(). - One thing I need to practise.