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
None of these
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
Which of the following is the text editor, commonly used for coding HTML or Python?
Gedit
PhET
IDLE
BSD
Predict the output?s= 0for i in range (1,6):s= s+iprint s
4
5
15
21
_______ is an instruction used in for, including a set of values in a variable.
in
range
if
What is the output of the following code:s= 0for i in range (1, 6):s= s+iprint i
10
6
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