Which 'for' statement will you use to print the multiplication table of 17?
10)
for i in range(1,10,17) b. for i in range (10,1,17) c.
a.
for i in range 117
Answers
Answer:
107, 1 13. 124, 135, 147, 151, 159, 165, 174. 186-8, 200 -3, 222-5, 260-3, ... 118 RANGE AND TYPE ... DIVIDE Multiply and divide mentally within the confines of all tables to 10. pp 63, 64, 80, ... 266 pp 17, 19-22,34.35,37- 40.
1998 ·
1,000,000 3,106,918 11.600 793,953 1,919,768 781.124 60W ) , 00 1,918 13. , 104 1.994,736 in the Treasury Printing Department ... 1,006 ) .000 2,604,618 821.136 OpenHigh Clos Tone of lrsing 10,000 1,60,000 191 , 1,104,10 ing . Lowest , enl . Range , iuy . ... 1.10 1. ) 11.16 107.1900 14012 132.13 Saturday , Aug. 10 .. 16.101 1101 Steady . 1104 04 1,115,119 Nassau ... 5,120.20 17,0,706 31.51 3.106.1 13.511.11 4,5 18,117 148,6 Imports of coin and bulliou froin foreign ports .
1867 ·
Explanation:
I hope it will be helpful for you...
Correct Question :-
Which for statement will you use to print the multiplication table of 17?
a. for i in range(1,10,17)
b. for i in range(10,1,17)
c. for i in range(17, 171, 17)
d. None
Answer :-
(c) for i in range(17, 171, 17) will be the right statement to use.
Reason :-
If you take A, the step value given is 17, but the start and stop values given are 1 and 10 respectively, and there aren't enough values to skip by 17. Hence nothing will be displayed.
If you take B, the start-value given is 10 and the stop-value, 1 making it practically impossible to traverse through. Hence, again, nothing will be displayed.
If you take C, the start-value is 17, and the stop-value is 171, and the step-value is 17, meaning that the table will be displayed between the numbers 17 and 171 which is still a valid output.