PCEP Control Flow, Loops, Lists and Logic • Set 1
PCEP Control Flow, Loops, Lists and Logic Practice Test 1 — 15 questions with 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?