Find the output of the code snippet?for i in range (5, 0, -1):print i
1 2 3 4 5
-1 -2 -3 -4 -5
5 4 3 2 1
5 4 3 2 1 0
Find the output?R= 0for a in range (1,10,2):R= R+ aprint R
15
25
55
75
_______ is an instruction used in for, including a set of values in a variable.
in
range
if
None of these
Which of following is an iteration instruction?
for
rt ()
The following program code will results:for i in range(10, 1, -2);print i
10 8 6 4 2
10 8 6 4 2 1
10 8 6 4 2 0
-10 -8 -6 -4 -2
IDLE stands for
Integrated Development Environment
Integrated Development Entity
Integrated Development Education
Integrated Development Employment
Find the output of the programme given below: if the value of n is 5.n = input ("Enter a number:")For i in range (1, 6):print i, "X" ,n, "=" , i * n
1×5= 5 2×5= 103×5= 154×5= 205×5= 25
1×5= 5 2×5= 103×5= 154×5= 205×5= 256×5= 30
5×1= 5 5×2= 105×3= 155×4= 205×5= 25
Program to find the product of all the numbers from 1 to 5:
p= 1for i in range(1, 6):p= p× iprint p
p= 0for i in range(1, 5):p= p× iprint i
For i in range(0, 6):p= p× iprint p
p= 1for i in range(1, 5):p = p× iprint p