Programming Language Python for Loop MCQ Question #3531
Single Choice Not Set

QWhat will be the output after the following statements?
for i in range(1,5):
    print(i, end='')
    if i == 3:
        break

ID: #3531 Python for Loop MCQ 391 views
Question Info
#3531Q ID
Not SetDifficulty
Python for Loop MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 123
  • B 1234
  • C 12
  • D 12345
Correct Answer

Explanation

123

Share This Question

Challenge a friend or share with your study group.