NIELIT O Level Exam

<p>What will be the output of the following Python code?</p><pre>for i in range(0):<br>&nbsp; &nbsp; print(i)</pre>

What will be the output of the following Python code?

for i in range(0):
    print(i)


निम्नलिखित Python कोड का आउटपुट क्या होगा?

for i in range(0):
    print(i)

A. 0

B. no output नो आउटपुट

C. error एरर

D. none of the mentioned उल्लेखित कोई नहीं




Correct Answer is :

B. no output



Explanation
range(0) is empty.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad