MCQ Buddy
Search here...
Home MCQ Feed Add Question Programming Portal English Portal Login
  1. Home
  2. Engineering
  3. Python Programming
  4. Question

M

Mr. Dubey • 53.58K Points
Coach

Q. What is the output of the following program :
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)

(A) 0 1 2 0
(B) 0 1 2
(C) Error
(D) None of the above
  • Correct Answer - Option(B)
  • Views: 788
  • Filed under category Python Programming
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs

Q. What is the space complexity of the recursive implementation used to find the nth fibonacci term?

Q. Which protocol provides the synchronization between media streams?

Q. enables the migration of the virtual image from one physical machine to another.

Q. Which of the following concepts make extensive use of arrays?

Q. print(matrix[i][1], end = " ")

Q. Who access the database occasionally and have different needs each time:

Q. Each class B network supports hosts.

Q. Also known as schematics, a way of illustrating the layout of an individual webpage is a:

Q. If o1 and o2 are two objects and distance between these objects is zero then it means_____

Q. Explanatory undo is, generally, a much more pleasant feature than .


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger