Year 7 (ages 11–12, Grade 6 in the US) · Computing · Python: first programs · Lesson 1
Output with print
First Python programs: using print() for output, strings, sequence, arithmetic operators, and fixing common syntax errors.
Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE computing courses. Check which course your school follows.

17-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Write programs using print()
- Explain strings
- Predict output
- Fix syntax errors
The method
- print.
- Brackets.
- Quotes.
- Run + check.
Key words: program, print, string, sequence, syntax error, Python.
Worked examples
Worked examples from the lesson, with every step.
Question 1
What is a program?
- Step 1: Instructions
Answer: a set of instructions for a computer
Question 2
What does print() do?
- Step 1: Show
Answer: outputs text on the screen
Question 3
What is a string?
- Step 1: Quotes
Answer: text in quotation marks