Page 95 - ThinkGPT_V2.1_C8_Flipbook
P. 95
B. Fill in the blanks using the words given below.
infinite break iterative continue two
1. Looping statements are also knowns as statements.
2. Python provides types of looping statements.
3. The loop never ends.
4. The and are the jump statements in Python.
C. State whether these statements are true or false.
1. The range( ) function is used in the for loop to iterate over the numbers.
2. The continue statement breaks the loops one by one.
3. To come out of the infinite loop, we can either close the program window or press Ctrl + C.
4. A sequence is a succession of values bound together by a single name.
5. The while statement is the looping statement.
D. Answer the following questions:
1. What is looping?
2. What are the values generated by the function range(10, 20, 2)?
3. What is the use of Jump statement?
4. Define the use of while statement with the help of an example.
5. Distinguish between continue and break statements.
Looping Statements in Python 93

