Find the output?R= 0for a in range (1,10,2):R= R+ aprint R
15
25
55
75
___________ function will clear/ delete the previous result/ output of the program.
cls()
clrscr()
clear()
clear
_______ is an instruction used in for, including a set of values in a variable.
in
range
if
None of these
Predict the output?s= 0for i in range (1,6):s= s+iprint s
4
5
21
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
Write a program code to print numbers from 1 to 10 ?
for i in range (10):print i
for i in range (0, 10):print i
for i in range (1, 11):print i
for i in range (1,10):print i
What is the purpose of 'from turtle import *'?
No specific purpose
For constructing geometrical shapes
For turtle instructions to work in python
For supporting python code
What is the output of the following code:s= 0for i in range (1, 6):s= s+iprint i
10
6