PCEP Control Flow, Loops, Lists and Logic • 100 Questions
100 PCEP Control Flow, Loops, Lists and Logic practice questions with answers and explanations. Free, no signup.
A developer writes a loop to sum numbers from 1 to 10. The code outputs 55, but the expected sum is 55. However, the loop uses a range that includes 0. Which range should be used to achieve the correct sum?
Choose an answer to begin — your selection is scored in the full session.
100 questions · instant feedback and full explanations after every question.