Monday 11 January 2016

Loops in Python

L/O: To understand and be able to use loops to iterate in Python

Starter


Correct the mistakes in the code!



Extension: How could this code be improved in order to allow the user enter an age higher than 16? What could you print instead?!


Main


What is iteration? Take a look at the video on slide 3

Create a new file in IDLE and type in the code for Guess the Number on slide 5

Improve the code using slide 6



Plenary


Share your code