NIELIT O Level Exam

<p style="letter-spacing: 0.14px;">What is the output of following code</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">x = [1, 2, 3]<br></span><span style="font-size: 14px;">print(x[1:10])</span></pre>

What is the output of following code

x = [1, 2, 3]
print(x[1:10])


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

x = [1, 2, 3]
print(x[1:10])

A. Error

B. [2, 3]

C. [1, 2, 3]

D. []




Correct Answer is :

B. [2, 3]



Explanation
<p><br></p>
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad