Report Bug

Qus

What will be the output after the following statements?

for i in range(1,6):
    print(i, end='')
    if i == 3:
        break
Qus

निम्नलिखित स्टेटमेंट के बाद आउटपुट क्या होगा?

for i in range(1,6):
    print(i, end='')
    if i == 3:
        break


A. 1 2
B. 1 2 3
C. 1 2 3 4
D. 1 2 3 4 5


Solution
B. 1 2 3



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