For LoopRange
For LoopRange
Recap
and Range
See , Think -- Wonder
• Learning intention:
• To understand the concept of looping /iteration/repetition
python.
• Learning objective:
• To apply the looping constructs (for loop ) in python using
range as a sequence .
• Success criteria:
• I Can: Create and execute a program to iterate over a range
of numbers to enhance the Problem Solving and Critical
thinking skills.
Pretest
QUIZZIZ
Explanation Learning
intention:
To understand
the concept of
looping
/iteration/repet
ition python.
Range(start,stop,step) Learning
objective:
To apply the
looping
constructs (for
loop ) in
python using
range as a
sequence
Learning
Lets implement intention:
Syntax “for loop” using range as a To understand
the concept of
Sequence: looping
/iteration/repet
for ______ in __________: ition python.
print(_______)
Learning
objective:
To apply the
looping
constructs (for
loop ) in
python using
range as a
sequence
Mid Plenary Learning
intention:
To understand
Syntax “for loop” the concept of
For counter in sequence: looping
statement(s) /iteration/repet
ition python.
Learning
for c in range(1,6): objective:
print(“the number is:”,c) To apply the
looping
for k in range(1,8,2) constructs (for
print(“The alternate numbers are:”,k) loop ) in
python using
range as a
sequence
Learning
Choice Board intention:
Task1(Basic) To understand
the concept of
Write a program to display numbers till looping
99 /iteration/repet
ition python.
Task 2 (Intermediate)
Write a program to display divisible of number 9 Learning
starting from 1 to 100 .(using a for loop and objective:
conditional statement ) To apply the
looping
constructs (for
Task 3 (Extended challenge) loop and Range
Write a program to display all even numbers from 20 to ) in python
200(including 200)(using a for loop and conditional statement)
using
Please try the program in “programmiz”
Programmiz
Learning
intention:
To understand
the concept of
looping
/iteration/repet
Post test
ition python.
Learning
objective:
To apply the
looping
constructs (for
loop ) in
python using
range as a
sequence
Task -1 Task-2 Task-3
Learning intention:
To understand the concept of looping
/iteration/repetition python.
Learning objective:
To apply the looping constructs (for loop ) in
python using “programmiz”
Learning
intention:
Task1 To understand
Program to print table of a number, say 5 the concept of
looping
/iteration/repetiti
on python.
Task 2 Learning
objective:
Program to print the sum of natural numbers To apply the
between 1 to 7. Print the sum progressively ,i.e after looping
adding each natural number, print sum so far . constructs (for
loop ) in python
using range as a
sequence
Task 3
Program to print the sum of natural Success criteria:
Create and
numbers between 1 to 7. execute
Please try the program in a
programmiz program over to
iterate a range
Task 1: :
Task1
Program to print table of a number, say 5
Output required
Task 2 output
Task 2
Program to print the sum of natural numbers
between 1 to 7. Print the sum progressively ,i.e after
adding each natural number, print sum so far .
Task 3 code and output
Task 3
Program to print the sum of natural numbers between 1 to 7.
Task 1 code and output: