✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
A student changes the loop to:
while current <= 7:
if current % 2 == 0:
continue
total = total + current
current = current + 1
The initial values are still current = 1 and total = 0.
Explain why this version never reaches the print statement. State the values of current and total once the program becomes stuck. [2 marks]
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!