MCQ Practice Single Best Answer Topic: Python for Loop MCQ

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

Question ID
#3534
Subchapter
Python for Loop MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 0124
  • B 01234
  • C 12
  • D 1345
Correct Answer: B

Explanation

01234

Share This Question

Share this MCQ with your friends or study group.