Monday 1 June 2015

Python Session 7 - Adding a Counter Variable

Lesson Objectives

- understand how to use Counter Variables (e.g. Score) - demonstrate how to embed counter variables in an IF statement 
- understand how to customise and refine programs further with print statements.




Tasks

Red: Use variable that can keep a score (this is known as a Counter Variable)
Amber: Increment the ‘counter’ variable by 1 in the use of If statements.
Green: Refine a program by using more sophisticated print statements.




Starter


Main




Plenary

Showcase your code on your Blog

No comments:

Post a Comment