Q.

What will be the output of the following
Python code?
for i in range(0):
print(i)

A. 0
B. no output
C. error
D. none of the mentioned
Answer» B. no output
Explanation: range(0) is empty.
677
0
Do you find this helpful?
6

Discussion

No comments yet