1. Python Software Foundation. (2024). The Python Tutorial, 4. More Control Flow Tools. Python 3.12.3 Documentation. Retrieved from https://docs.python.org/3/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops.
Reference Details: Section 4.4 explains that the continue statement "continues with the next iteration of the loop." This directly supports the analysis that the print statement is skipped for even numbers.
2. Guttag, J. V. (2016). Introduction to Computation and Programming Using Python, With Application to Understanding Data (2nd ed.). MIT Press.
Reference Details: Chapter 3, "Some Simple Numerical Programs," discusses iteration and the while loop. Section 3.2 specifically covers how loop control works, which is the core concept tested.
3. MIT OpenCourseWare. (2016). 6.0001 Introduction to Computer Science and Programming in Python, Fall 2016.
Reference Details: Lecture 3, "Branching, Conditionals, and Iteration," provides examples of while loops and conditional logic, which are fundamental to understanding the provided code snippet's behavior.
4. Python Institute. (2024). PCEP-30-02 – Exam Syllabus.
Reference Details: Section 3.2, "Loops – while, for, range(), break and continue, else," confirms that understanding the while loop and the continue statement is a required skill for the PCEP certification.