5.
5. Which Mistake Can Cause an Infinite While Loop in Python?
Please select an
answer.
Correct Answer:
(C)
Explanation:
If the loop variable never changes, the condition may always remain True. As a result, the while loop keeps running indefinitely.