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

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

ID: #3532 Python for Loop MCQ 313 views
Question Info
#3532Q ID
Not SetDifficulty
Python for Loop MCQTopic

Choose the Best Option

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

  • A 12
  • B 01
  • C 012
  • D 0123
Correct Answer

Explanation

01

Share This Question

Challenge a friend or share with your study group.