Q20
What is the output of the following code:for i in range(1, 6): print(i)
A.
1
2
3
4
5
Answer2
3
4
5
B.
1
2
3
4
6
2
3
4
6
C.
2
3
4
5
6
3
4
5
6
D.
0
1
2
3
4
1
2
3
4
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board