QuestionQ208Verified/Control Flow – Conditional Blocks and LoopsCopy linkReport a problemAsk AstroTutorSave questionHow many stars does the following code snippet print to the monitor? AthreeBzeroConeDtwoShow AnswerAnswerExplanationThe first loop iteration increments i to 1, so print('*') executes once. The next iteration increments i to 2, and break exits the loop before another star can be printed.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion