Grade 6 · Computer Science

Plenary: Can you make Python interactive?

Review your learning and complete the exit ticket independently.

Quick review

1How does input() make a Python program interactive?
2What is the role of a variable when using input()?
3How is input() different from print()?

Write short, clear answers in your notebook.

Exit ticket · Think, diagnose and create

Complete all three questions in your notebook before leaving the lesson.

1Spot the error

A student writes:

input("Enter your name: ")
print(name)

Explain why the expected name may not be displayed. Rewrite the two statements correctly.

2Apply your learning

Write one Python statement that asks the user to enter their favourite UAE landmark and stores the response in a variable named landmark.

3Reflect

Complete both sentences:

  • One thing I can now do with input() is…
  • One thing I need to practise further is…
Challenge question: If a user enters Dubai when asked for a favourite UAE landmark, what value will the variable landmark store? Explain your answer.

Submit your notebook for a quick teacher check when asked. Be prepared to explain your correction in Question 1.

Next step

In the next practical opportunity, you will run your program in Python IDLE, compare the actual output with your prediction and improve your code if needed.

← Return to the lesson

Grade 6 Computer Science · Introduction to Python – Using input()