QuestionQ83Verified/Control Flow – Conditional Blocks and LoopsCopy linkReport a problemAsk AstroTutorSave questionHow many stars does the following snippet display on the monitor? AthreeBoneCtwoDzeroShow AnswerAnswerExplanationrange(1) causes the loop body to execute once, printing one star. Because the loop completes normally, its else block also executes and prints one additional star, for a total of two.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion