- View more resources from this publisherCode for Life
Session Seven: Increase the Challenge - Creating New Python Variables, Incrementing Variables.
This activity goes further into Python programming by expanding the range of repetition and selection commands used. Students also practice debugging of code.
Variables are explained before making use of incremented variables to solve challenges in Python.
Other programming practices, including correct indentation, comments and the importance of syntax are covered.
A useful variables help sheet is included, as are cut-out code blocks. Keywords and phrases can also be printed for wall displays.
Guidance for teachers explains where the activity sits within the sequence, and includes model solutions to all challenges. Assessment guidance, including self-assessment, is provided.
Show health and safety information
Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.
Downloads
-
Increase the challenge (teachers' notes) 150.98 KB
-
Python variables help sheet 78.25 KB
-
Code cards (image) 105.78 KB
-
Code wall cards (image) 2.16 MB