PCEP-30-02 Exam QuestionsBrowse all questions from this exam

PCEP-30-02 Exam - Question 318


What will happen when you attempt to run the following code?

Show Answer
Correct Answer:

Discussion

2 comments
Sign in to comment
Sam_sgvOption: A
Feb 8, 2025

tricky question, the reason its (A) its cuz w in While is capital letter, if while were all in lower case the program would fall in infinity loop (C).

Knight82Option: C
Apr 29, 2025

If you run this script in the Python interpreter, it will fall into an infinite loop.