Report Bug
Qus :

What will be the output of the following Python code?

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

Qus

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

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


A. 0
B. no output
C. error
D. none of the mentioned


Solution
B. no output



Explanation
range(0) is empty.



Report Bug