QuestionQ5Verified/Control Structures and IterationCopy linkReport a problemAsk AstroTutorSave questionHow many lines does the following code print? A0B1C99D199E2Show AnswerAnswerExplanationThe loop increments x to 1 on its first iteration. Because 1 < 100, it executes one print statement and immediately exits the loop with break, so exactly one line is printed.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion