Page 126 - 2622_Delhi Police Public School_C-8
P. 126
2. Competency-based/Application-based question:
Swara wants to repeat a block of statements for a given number of times, until the control condition is
false. Which type of construct can she use for this?
A Better Me! 21 st Century #Initiative
Skills
#Leadership & Responsibility
A few of your friends have been editing and sharing codes of other classmates without their
knowledge. What would you do in such a situation?
Explore in the Lab 21 st Century #Technology Literacy
Skills
#Critical Thinking
To
Subject Programming in Python
Write a program to:
a. display Average of numbers from 1 to 10.
b. display first 10 multiples of a number.
c. display Squares all odd numbers from 1 to 20.
d. display all even numbers from 1 to 100.
e. print Fibonacci series like 0, 1, 1, 2, 3, 5, 8……. Print first 20 terms of pattern stated.
For The Teacher
Discuss about all the iterative statements of Python with the students.
Go through all the topics covered in this chapter.
Premium Edition-VIII
124

