For statement

For statement
1 / 4
next
Slide 1: Slide
Ilearningdeal@gmail.comFurther Education (Key Stage 5)

This lesson contains 4 slides, with interactive quiz and text slides.

Items in this lesson

For statement

Slide 1 - Slide

"for" statement 
# Loop examples
for i in range(5):
    print(i)
n = 5


Execrcise 1
Run the program on the onlinegdg platform 
Discussion time
Discuss with your class mates how it works?

Slide 2 - Slide

How can the "for" loop be
implemented in your "if" to ask
5 people to enter their age.

Slide 3 - Mind map

The end 
Try the exercise - 15 minutes 
Thank you for taking part 

Slide 4 - Slide